diff options
author | Matthew Lemon <y@yulqen.org> | 2024-09-10 12:11:12 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-09-10 12:11:12 +0100 |
commit | 5fb0621c53967bf24f4411f579712223e96b296a (patch) | |
tree | b99a1d823e27e0eb6ebf90f9cdf341edda963d69 /engagements/migrations | |
parent | f96b5ba4052c28d2bd2c03cefba3a2e828dd059d (diff) |
Adds RegulatoryCycle model
Diffstat (limited to 'engagements/migrations')
-rw-r--r-- | engagements/migrations/0004_regulatorycycle_alter_engagementeffort_effort_type.py | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/engagements/migrations/0004_regulatorycycle_alter_engagementeffort_effort_type.py b/engagements/migrations/0004_regulatorycycle_alter_engagementeffort_effort_type.py new file mode 100644 index 0000000..00d9db6 --- /dev/null +++ b/engagements/migrations/0004_regulatorycycle_alter_engagementeffort_effort_type.py @@ -0,0 +1,42 @@ +# Generated by Django 5.0.4 on 2024-09-10 10:27 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ("engagements", "0003_engagementeffort_notes"), + ] + + operations = [ + migrations.CreateModel( + name="RegulatoryCycle", + fields=[ + ("id", models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name="ID")), + ("date_created", models.DateTimeField(auto_now_add=True)), + ("last_modified", models.DateTimeField(auto_now=True)), + ("start_date", models.DateField()), + ("end_date", models.DateField()), + ("description", models.TextField(blank=True, max_length=1024, null=True)), + ], + options={ + "abstract": False, + }, + ), + migrations.AlterField( + model_name="engagementeffort", + name="effort_type", + field=models.CharField( + choices=[ + ("TRAVEL", "Travel"), + ("PLANNING", "Planning"), + ("REGULATION", "Regulation (On-site or Remote)"), + ("DISCUSSION", "Discussion"), + ("REPORTING", "Reporting"), + ], + max_length=32, + verbose_name="Effort Type", + ), + ), + ] |