aboutsummaryrefslogblamecommitdiffstats
path: root/ctrack/organisations/migrations/0002_auto_20201015_1955.py
blob: dcc24639ac34bcbeec994863f5e8c9b1d1bb7262 (plain) (tree)

























                                                                                                                                                                                               
# 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),
        ),
    ]