Add missing migrations

This commit is contained in:
Ethanell 2021-12-03 04:57:17 +01:00
parent fe817f4dd7
commit 046e52ecd3
4 changed files with 93 additions and 0 deletions

View file

@ -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()),
],
),
]

View file

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

View file

@ -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'),
),
]

View file

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