diff options
Diffstat (limited to '')
-rw-r--r-- | ctrack/organisations/migrations/0002_auto_20201015_1955.py | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/ctrack/organisations/migrations/0002_auto_20201015_1955.py b/ctrack/organisations/migrations/0002_auto_20201015_1955.py new file mode 100644 index 0000000..dcc2463 --- /dev/null +++ b/ctrack/organisations/migrations/0002_auto_20201015_1955.py @@ -0,0 +1,26 @@ +# Generated by Django 3.1.2 on 2020-10-15 19:55 + +import ctrack.organisations.models +from django.conf import settings +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + migrations.swappable_dependency(settings.AUTH_USER_MODEL), + ('organisations', '0001_initial'), + ] + + operations = [ + migrations.AddField( + model_name='organisation', + name='deputy_lead_inspector', + field=models.ForeignKey(null=True, on_delete=models.SET(ctrack.organisations.models.Organisation.get_sentinel_user), related_name='deputy_inspector', to=settings.AUTH_USER_MODEL), + ), + migrations.AddField( + model_name='organisation', + name='lead_inspector', + field=models.ForeignKey(null=True, on_delete=models.SET(ctrack.organisations.models.Organisation.get_sentinel_user), related_name='lead_inspector', to=settings.AUTH_USER_MODEL), + ), + ] |