2
0
Fork 0

Reformat migrations using black

This commit is contained in:
Luca 2023-05-08 00:01:27 +02:00
parent 0bfda856d8
commit 4a3f7adbee
3 changed files with 30 additions and 14 deletions

View File

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

View File

@ -4,15 +4,14 @@ from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('importer', '0001_initial'),
("importer", "0001_initial"),
]
operations = [
migrations.AddField(
model_name='calendar',
name='needs_fallback',
model_name="calendar",
name="needs_fallback",
field=models.BooleanField(default=False),
),
]

View File

@ -4,13 +4,12 @@ from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('signage', '0001_initial'),
("signage", "0001_initial"),
]
operations = [
migrations.DeleteModel(
name='TeamBackup',
name="TeamBackup",
),
]