Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

Commit

Permalink
fix: Fix default status issue (#1822)
Browse files Browse the repository at this point in the history
  • Loading branch information
faucomte97 authored Nov 2, 2023
1 parent 188a809 commit 3f0be99
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
4 changes: 2 additions & 2 deletions aimmo/migrations/0009_add_game_status.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ class Migration(migrations.Migration):
model_name="game",
name="status",
field=models.CharField(
choices=[(b"r", b"running"), (b"s", b"stopped"), (b"p", b"paused")],
default=b"r",
choices=[("r", "running"), ("s", "stopped"), ("p", "paused")],
default="r",
max_length=1,
),
)
Expand Down
11 changes: 1 addition & 10 deletions aimmo/migrations/0012_auto_20200302_1310.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,5 @@ class Migration(migrations.Migration):
default="Main",
max_length=20,
),
),
migrations.AlterField(
model_name="game",
name="status",
field=models.CharField(
choices=[("r", "running"), ("s", "stopped"), ("p", "paused")],
default="r",
max_length=1,
),
),
)
]

0 comments on commit 3f0be99

Please sign in to comment.