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
|
||||
from django.conf import settings
|
||||
|
@ -12,9 +12,9 @@ class Migration(migrations.Migration):
|
|||
initial = True
|
||||
|
||||
dependencies = [
|
||||
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
||||
("aviary", "0002_alter_aviary_condition"),
|
||||
("rescuer", "0001_initial"),
|
||||
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
||||
("aviary", "0003_alter_aviary_condition"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
|
@ -52,6 +52,17 @@ class Migration(migrations.Migration):
|
|||
"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(
|
||||
name="FallenBird",
|
||||
fields=[
|
||||
|
@ -105,6 +116,14 @@ class Migration(migrations.Migration):
|
|||
verbose_name="Patient",
|
||||
),
|
||||
),
|
||||
(
|
||||
"find_circumstances",
|
||||
models.ForeignKey(
|
||||
default=1,
|
||||
on_delete=django.db.models.deletion.CASCADE,
|
||||
to="bird.circumstance",
|
||||
),
|
||||
),
|
||||
(
|
||||
"rescuer",
|
||||
models.ForeignKey(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue