diff options
Diffstat (limited to 'ctrack/organisations/migrations')
4 files changed, 87 insertions, 0 deletions
diff --git a/ctrack/organisations/migrations/0011_mode_submode.py b/ctrack/organisations/migrations/0011_mode_submode.py new file mode 100644 index 0000000..de7ce5c --- /dev/null +++ b/ctrack/organisations/migrations/0011_mode_submode.py @@ -0,0 +1,29 @@ +# 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')), + ], + ), + ] diff --git a/ctrack/organisations/migrations/0012_organisation_submode.py b/ctrack/organisations/migrations/0012_organisation_submode.py new file mode 100644 index 0000000..50d2610 --- /dev/null +++ b/ctrack/organisations/migrations/0012_organisation_submode.py @@ -0,0 +1,20 @@ +# Generated by Django 2.2.9 on 2020-01-25 14:49 + +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + ('organisations', '0011_mode_submode'), + ] + + operations = [ + migrations.AddField( + model_name='organisation', + name='submode', + field=models.ForeignKey(default=1, on_delete=django.db.models.deletion.CASCADE, to='organisations.Submode'), + preserve_default=False, + ), + ] diff --git a/ctrack/organisations/migrations/0013_auto_20200125_1457.py b/ctrack/organisations/migrations/0013_auto_20200125_1457.py new file mode 100644 index 0000000..e39aaed --- /dev/null +++ b/ctrack/organisations/migrations/0013_auto_20200125_1457.py @@ -0,0 +1,19 @@ +# Generated by Django 2.2.9 on 2020-01-25 14:57 + +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + ('organisations', '0012_organisation_submode'), + ] + + operations = [ + migrations.AlterField( + model_name='organisation', + name='submode', + field=models.ForeignKey(blank=True, on_delete=django.db.models.deletion.CASCADE, to='organisations.Submode'), + ), + ] diff --git a/ctrack/organisations/migrations/0014_auto_20200125_1459.py b/ctrack/organisations/migrations/0014_auto_20200125_1459.py new file mode 100644 index 0000000..b9cb1db --- /dev/null +++ b/ctrack/organisations/migrations/0014_auto_20200125_1459.py @@ -0,0 +1,19 @@ +# Generated by Django 2.2.9 on 2020-01-25 14:59 + +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + ('organisations', '0013_auto_20200125_1457'), + ] + + operations = [ + migrations.AlterField( + model_name='organisation', + name='submode', + field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='organisations.Submode'), + ), + ] |