new migrations file
This commit is contained in:
parent
8f82b2e33f
commit
a24c8c8c9e
1 changed files with 22 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
# Generated by Django 4.2.2 on 2023-07-09 11:26
|
# Generated by Django 4.2.2 on 2023-07-10 18:14
|
||||||
|
|
||||||
import bird.models
|
import bird.models
|
||||||
from django.conf import settings
|
from django.conf import settings
|
||||||
|
@ -12,9 +12,9 @@ class Migration(migrations.Migration):
|
||||||
initial = True
|
initial = True
|
||||||
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
|
||||||
("aviary", "0002_alter_aviary_condition"),
|
|
||||||
("rescuer", "0001_initial"),
|
("rescuer", "0001_initial"),
|
||||||
|
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
||||||
|
("aviary", "0003_alter_aviary_condition"),
|
||||||
]
|
]
|
||||||
|
|
||||||
operations = [
|
operations = [
|
||||||
|
@ -52,6 +52,17 @@ class Migration(migrations.Migration):
|
||||||
"verbose_name_plural": "Patientenstatus",
|
"verbose_name_plural": "Patientenstatus",
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
|
migrations.CreateModel(
|
||||||
|
name="Circumstance",
|
||||||
|
fields=[
|
||||||
|
("id", models.BigAutoField(primary_key=True, serialize=False)),
|
||||||
|
("description", models.CharField(max_length=256)),
|
||||||
|
],
|
||||||
|
options={
|
||||||
|
"verbose_name": "Fundumstand",
|
||||||
|
"verbose_name_plural": "Fundumstände",
|
||||||
|
},
|
||||||
|
),
|
||||||
migrations.CreateModel(
|
migrations.CreateModel(
|
||||||
name="FallenBird",
|
name="FallenBird",
|
||||||
fields=[
|
fields=[
|
||||||
|
@ -105,6 +116,14 @@ class Migration(migrations.Migration):
|
||||||
verbose_name="Patient",
|
verbose_name="Patient",
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
(
|
||||||
|
"find_circumstances",
|
||||||
|
models.ForeignKey(
|
||||||
|
default=1,
|
||||||
|
on_delete=django.db.models.deletion.CASCADE,
|
||||||
|
to="bird.circumstance",
|
||||||
|
),
|
||||||
|
),
|
||||||
(
|
(
|
||||||
"rescuer",
|
"rescuer",
|
||||||
models.ForeignKey(
|
models.ForeignKey(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue