aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/organisations/migrations/0001_initial.py
diff options
context:
space:
mode:
Diffstat (limited to 'ctrack/organisations/migrations/0001_initial.py')
-rw-r--r--ctrack/organisations/migrations/0001_initial.py14
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={