Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
francesconazzaro committed Jul 25, 2024
1 parent bb03305 commit 93901a4
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions alembic/versions/a4e8be715296_add_deleted_as_new_status.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
Create Date: 2024-07-25 13:13:11.955119
"""
import sqlalchemy as sa

from sqlalchemy.dialects.postgresql import ENUM

Expand All @@ -17,10 +18,16 @@
depends_on = None


old_status_enum = ENUM(
"pending", "in_progress", "completed", "failed", name="status", create_type=False
old_status_enum = sa.Enum(
"accepted",
"running",
"failed",
"successful",
"dismissed",
name="status",
create_type=False,
)
new_status_enum = ENUM(
new_status_enum = sa.Enum(
"pending",
"in_progress",
"completed",
Expand Down

0 comments on commit 93901a4

Please sign in to comment.