Add missing migrations
This commit is contained in:
parent
fe817f4dd7
commit
046e52ecd3
4 changed files with 93 additions and 0 deletions
24
boat/migrations/0001_initial.py
Normal file
24
boat/migrations/0001_initial.py
Normal 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()),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
]
|
25
boat/migrations/0002_auto_20211203_0349.py
Normal file
25
boat/migrations/0002_auto_20211203_0349.py
Normal 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),
|
||||||
|
),
|
||||||
|
]
|
19
rescue/migrations/0003_rescue_boats.py
Normal file
19
rescue/migrations/0003_rescue_boats.py
Normal 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'),
|
||||||
|
),
|
||||||
|
]
|
25
rescue/migrations/0004_auto_20211203_0349.py
Normal file
25
rescue/migrations/0004_auto_20211203_0349.py
Normal 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),
|
||||||
|
),
|
||||||
|
]
|
Loading…
Reference in a new issue