You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

29 line
1.0 KiB

  1. # Generated by Django 4.1.9 on 2023-07-17 23:26
  2. from django.db import migrations, models
  3. class Migration(migrations.Migration):
  4. initial = True
  5. dependencies = [
  6. ]
  7. operations = [
  8. migrations.CreateModel(
  9. name='Account',
  10. fields=[
  11. ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
  12. ('name', models.CharField(max_length=100)),
  13. ('address', models.CharField(max_length=200)),
  14. ('phone_number', models.CharField(max_length=20)),
  15. ('email', models.EmailField(max_length=254)),
  16. ('created_at', models.DateTimeField(auto_now_add=True)),
  17. ('total_revenue', models.DecimalField(decimal_places=2, default=0, max_digits=10)),
  18. ('total_expenses', models.DecimalField(decimal_places=2, default=0, max_digits=10)),
  19. ('total_investments', models.DecimalField(decimal_places=2, default=0, max_digits=10)),
  20. ],
  21. ),
  22. ]