# Generated by Django 3.2.16 on 2023-02-08 00:51 import datetime from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('agent', '0001_initial'), ] operations = [ migrations.CreateModel( name='BudgetGroup', fields=[ ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(max_length=255)), ('description', models.TextField(blank=True)), ], ), migrations.CreateModel( name='BudgetLine', fields=[ ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('amount', models.DecimalField(decimal_places=2, max_digits=12)), ('comment', models.TextField(blank=True)), ('date', models.DateField(default=datetime.date.today)), ('facture', models.FileField(blank=True, null=True, upload_to='factures/')), ('title', models.CharField(max_length=255)), ('author', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='agent.agent')), ('group', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='budget.budgetgroup')), ], ), ]