22 lines
443 B
Python
22 lines
443 B
Python
"""Add 'cancelled' task status.
|
|
|
|
The status column is plain TEXT (not a PostgreSQL enum type), so no DDL
|
|
change is required — the application layer already accepts the new value.
|
|
"""
|
|
|
|
from alembic import op
|
|
|
|
revision = "0031"
|
|
down_revision = "0030"
|
|
branch_labels = None
|
|
depends_on = None
|
|
|
|
|
|
def upgrade() -> None:
|
|
# No-op: status is stored as TEXT; the new value is valid without DDL changes.
|
|
pass
|
|
|
|
|
|
def downgrade() -> None:
|
|
pass
|