state-hub/migrations/versions/l9g0h1i2j3k4_capability_request_routing_note.py

20 lines
466 B
Python
Raw Normal View History

"""Add routing_note to capability_requests
Revision ID: l9g0h1i2j3k4
Revises: k8f9a0b1c2d3
Create Date: 2026-03-20
"""
from alembic import op
import sqlalchemy as sa
revision = 'l9g0h1i2j3k4'
down_revision = 'k8f9a0b1c2d3'
branch_labels = None
depends_on = None
def upgrade() -> None:
op.add_column('capability_requests', sa.Column('routing_note', sa.Text(), nullable=True))
def downgrade() -> None:
op.drop_column('capability_requests', 'routing_note')