From ecd2c19b265e3974707da0d9b8e260749dcf4a9f Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Wed, 21 Oct 2020 17:08:24 +0100 Subject: renamed a field in a model to date and look what I need! new migrations and fixed tests --- .../migrations/0002_auto_20201015_1955.py | 26 ---------------------- 1 file changed, 26 deletions(-) delete mode 100644 ctrack/organisations/migrations/0002_auto_20201015_1955.py (limited to 'ctrack/organisations/migrations/0002_auto_20201015_1955.py') diff --git a/ctrack/organisations/migrations/0002_auto_20201015_1955.py b/ctrack/organisations/migrations/0002_auto_20201015_1955.py deleted file mode 100644 index dcc2463..0000000 --- a/ctrack/organisations/migrations/0002_auto_20201015_1955.py +++ /dev/null @@ -1,26 +0,0 @@ -# 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), - ), - ] -- cgit v1.2.3