From f739c571945dce2407a97c2b87ed5867b77a5f3d Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Tue, 18 Feb 2020 16:07:33 +0000 Subject: start fresh with migrations - might have to DROP DB and migrate again --- .../organisations/migrations/0011_mode_submode.py | 29 ---------------------- 1 file changed, 29 deletions(-) delete mode 100644 ctrack/organisations/migrations/0011_mode_submode.py (limited to 'ctrack/organisations/migrations/0011_mode_submode.py') diff --git a/ctrack/organisations/migrations/0011_mode_submode.py b/ctrack/organisations/migrations/0011_mode_submode.py deleted file mode 100644 index de7ce5c..0000000 --- a/ctrack/organisations/migrations/0011_mode_submode.py +++ /dev/null @@ -1,29 +0,0 @@ -# Generated by Django 2.2.9 on 2020-01-25 14:44 - -from django.db import migrations, models -import django.db.models.deletion - - -class Migration(migrations.Migration): - - dependencies = [ - ('organisations', '0010_auto_20200124_1629'), - ] - - operations = [ - migrations.CreateModel( - name='Mode', - fields=[ - ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), - ('descriptor', models.CharField(max_length=100)), - ], - ), - migrations.CreateModel( - name='Submode', - fields=[ - ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), - ('descriptor', models.CharField(max_length=100)), - ('mode', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='organisations.Mode')), - ], - ), - ] -- cgit v1.2.3