|
|
|
@ -5,19 +5,37 @@ import django.db.models.deletion
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
|
|
|
|
|
|
dependencies = [
|
|
|
|
|
('app', '0011_room_description'),
|
|
|
|
|
('fallback', '0001_initial'),
|
|
|
|
|
("app", "0011_room_description"),
|
|
|
|
|
("fallback", "0001_initial"),
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
operations = [
|
|
|
|
|
migrations.CreateModel(
|
|
|
|
|
name='FallbackAssignment',
|
|
|
|
|
name="FallbackAssignment",
|
|
|
|
|
fields=[
|
|
|
|
|
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
|
|
|
('shift', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='app.shift')),
|
|
|
|
|
('team_member', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='fallback.teammember')),
|
|
|
|
|
(
|
|
|
|
|
"id",
|
|
|
|
|
models.BigAutoField(
|
|
|
|
|
auto_created=True,
|
|
|
|
|
primary_key=True,
|
|
|
|
|
serialize=False,
|
|
|
|
|
verbose_name="ID",
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
(
|
|
|
|
|
"shift",
|
|
|
|
|
models.ForeignKey(
|
|
|
|
|
on_delete=django.db.models.deletion.CASCADE, to="app.shift"
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
(
|
|
|
|
|
"team_member",
|
|
|
|
|
models.ForeignKey(
|
|
|
|
|
on_delete=django.db.models.deletion.CASCADE,
|
|
|
|
|
to="fallback.teammember",
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
]
|
|
|
|
|