Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
raccube committed Dec 24, 2024
1 parent b9ae76e commit a3f5b28
Showing 1 changed file with 24 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,26 +6,39 @@


class Migration(migrations.Migration):

dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('teams', '0004_add_team_comment'),
("teams", "0004_add_team_comment"),
]

operations = [
migrations.AlterModelOptions(
name='team',
options={'ordering': ['tla']},
name="team",
options={"ordering": ["tla"]},
),
migrations.CreateModel(
name='TeamAttendanceEvent',
name="TeamAttendanceEvent",
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('type', models.TextField(choices=[('AR', 'Arrived'), ('LE', 'Left'), ('DE', 'Delayed'), ('DO', 'Dropped Out')], max_length=2)),
('comment', models.TextField()),
('created_at', models.DateTimeField(auto_now_add=True)),
('team', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='team_attendance_events', related_query_name='team_attendance_events', to='teams.team')),
('user', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to=settings.AUTH_USER_MODEL)),
("id", models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name="ID")),
(
"type",
models.TextField(
choices=[("AR", "Arrived"), ("LE", "Left"), ("DE", "Delayed"), ("DO", "Dropped Out")],
max_length=2,
),
),
("comment", models.TextField()),
("created_at", models.DateTimeField(auto_now_add=True)),
(
"team",
models.ForeignKey(
on_delete=django.db.models.deletion.CASCADE,
related_name="team_attendance_events",
related_query_name="team_attendance_events",
to="teams.team",
),
),
("user", models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to=settings.AUTH_USER_MODEL)),
],
),
]

0 comments on commit a3f5b28

Please sign in to comment.