From 046e52ecd37c3c685291f24e01e67cb51cfdb59e Mon Sep 17 00:00:00 2001 From: flifloo Date: Fri, 3 Dec 2021 04:57:17 +0100 Subject: [PATCH] Add missing migrations --- boat/migrations/0001_initial.py | 24 +++++++++++++++++++ boat/migrations/0002_auto_20211203_0349.py | 25 ++++++++++++++++++++ rescue/migrations/0003_rescue_boats.py | 19 +++++++++++++++ rescue/migrations/0004_auto_20211203_0349.py | 25 ++++++++++++++++++++ 4 files changed, 93 insertions(+) create mode 100644 boat/migrations/0001_initial.py create mode 100644 boat/migrations/0002_auto_20211203_0349.py create mode 100644 rescue/migrations/0003_rescue_boats.py create mode 100644 rescue/migrations/0004_auto_20211203_0349.py diff --git a/boat/migrations/0001_initial.py b/boat/migrations/0001_initial.py new file mode 100644 index 0000000..ed60556 --- /dev/null +++ b/boat/migrations/0001_initial.py @@ -0,0 +1,24 @@ +# Generated by Django 3.2.9 on 2021-12-03 03:44 + +from django.db import migrations, models +import django_quill.fields + + +class Migration(migrations.Migration): + + initial = True + + dependencies = [ + ] + + operations = [ + migrations.CreateModel( + name='Boat', + fields=[ + ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), + ('name', models.CharField(max_length=80)), + ('model', models.CharField(max_length=80)), + ('description', django_quill.fields.QuillField()), + ], + ), + ] diff --git a/boat/migrations/0002_auto_20211203_0349.py b/boat/migrations/0002_auto_20211203_0349.py new file mode 100644 index 0000000..465134c --- /dev/null +++ b/boat/migrations/0002_auto_20211203_0349.py @@ -0,0 +1,25 @@ +# Generated by Django 3.2.9 on 2021-12-03 03:49 + +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + ('people', '0003_auto_20211202_2225'), + ('boat', '0001_initial'), + ] + + operations = [ + migrations.AddField( + model_name='boat', + name='pending_edit_of', + field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='people.people'), + ), + migrations.AddField( + model_name='boat', + name='validated', + field=models.BooleanField(default=False), + ), + ] diff --git a/rescue/migrations/0003_rescue_boats.py b/rescue/migrations/0003_rescue_boats.py new file mode 100644 index 0000000..bbe13ba --- /dev/null +++ b/rescue/migrations/0003_rescue_boats.py @@ -0,0 +1,19 @@ +# Generated by Django 3.2.9 on 2021-12-03 03:44 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('boat', '0001_initial'), + ('rescue', '0002_auto_20211202_2301'), + ] + + operations = [ + migrations.AddField( + model_name='rescue', + name='boats', + field=models.ManyToManyField(to='boat.Boat'), + ), + ] diff --git a/rescue/migrations/0004_auto_20211203_0349.py b/rescue/migrations/0004_auto_20211203_0349.py new file mode 100644 index 0000000..49ce193 --- /dev/null +++ b/rescue/migrations/0004_auto_20211203_0349.py @@ -0,0 +1,25 @@ +# Generated by Django 3.2.9 on 2021-12-03 03:49 + +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + ('people', '0003_auto_20211202_2225'), + ('rescue', '0003_rescue_boats'), + ] + + operations = [ + migrations.AddField( + model_name='rescue', + name='pending_edit_of', + field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='people.people'), + ), + migrations.AddField( + model_name='rescue', + name='validated', + field=models.BooleanField(default=False), + ), + ]