Skip to content

Commit 91d3643

Browse files
committed
Update migration to make django happy
1 parent 99015ef commit 91d3643

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

pgcommitfest/commitfest/migrations/0014_add_paused_cfbot_task_state.py

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Generated by Django 4.2.19 on 2025-07-03 06:15
22

3-
from django.db import migrations
3+
from django.db import migrations, models
44

55

66
class Migration(migrations.Migration):
@@ -14,4 +14,22 @@ class Migration(migrations.Migration):
1414
ALTER TYPE cfbottask_status ADD VALUE 'PAUSED' AFTER 'CREATED';
1515
"""
1616
),
17+
migrations.AlterField(
18+
model_name="cfbottask",
19+
name="status",
20+
field=models.TextField(
21+
choices=[
22+
("CREATED", "Created"),
23+
("PAUSED", "Paused"),
24+
("NEEDS_APPROVAL", "Needs Approval"),
25+
("TRIGGERED", "Triggered"),
26+
("EXECUTING", "Executing"),
27+
("FAILED", "Failed"),
28+
("COMPLETED", "Completed"),
29+
("SCHEDULED", "Scheduled"),
30+
("ABORTED", "Aborted"),
31+
("ERRORED", "Errored"),
32+
]
33+
),
34+
),
1735
]

0 commit comments

Comments
 (0)