diff options
author | Matthew Lemon <matt@matthewlemon.com> | 2020-02-19 21:22:21 +0000 |
---|---|---|
committer | Matthew Lemon <matt@matthewlemon.com> | 2020-02-19 21:22:21 +0000 |
commit | ac2a715c0bc38e8a03640c604b8ed082456b2109 (patch) | |
tree | dec73bfcbf7920e18e94c493484e7368641d3387 /ctrack/organisations/migrations/0001_initial.py | |
parent | afed43baeb9b4f9ee9f449b7be4e8a89a65ce9a8 (diff) |
new migrations and working through factory issue
Diffstat (limited to '')
-rw-r--r-- | ctrack/organisations/migrations/0001_initial.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ctrack/organisations/migrations/0001_initial.py b/ctrack/organisations/migrations/0001_initial.py index 0d8c2c4..1ec5895 100644 --- a/ctrack/organisations/migrations/0001_initial.py +++ b/ctrack/organisations/migrations/0001_initial.py @@ -1,4 +1,4 @@ -# Generated by Django 2.2.9 on 2020-02-18 16:05 +# Generated by Django 2.2.9 on 2020-02-18 22:21 from django.db import migrations, models import django.db.models.deletion @@ -91,14 +91,14 @@ class Migration(migrations.Migration): ('date_updated', models.DateField(auto_now=True)), ('clearance', models.IntegerField(choices=[(1, 'NA'), (2, 'BPSS'), (3, 'CTC'), (4, 'SC'), (5, 'DV'), (6, 'Other')], default=1)), ('clearance_sponsor', models.CharField(blank=True, max_length=100)), - ('clearance_start_date', models.DateField(blank=True)), - ('clearance_last_checked', models.DateField(blank=True)), - ('clearance_expiry', models.DateField(blank=True)), + ('clearance_start_date', models.DateField(blank=True, null=True)), + ('clearance_last_checked', models.DateField(blank=True, null=True)), + ('clearance_expiry', models.DateField(blank=True, null=True)), ('active', models.BooleanField(default=True)), - ('date_ended', models.DateField(blank=True)), - ('comments', models.TextField(max_length=1000)), + ('date_ended', models.DateField(blank=True, null=True)), + ('comments', models.TextField(blank=True, max_length=1000)), ('organisation', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='organisations.Organisation')), - ('predecessor', models.ForeignKey(blank=True, on_delete=django.db.models.deletion.CASCADE, related_name='previous_person', to='organisations.Person')), + ('predecessor', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='previous_person', to='organisations.Person')), ('role', models.ManyToManyField(to='organisations.Role')), ], options={ |