32 lines
815 B
Python
32 lines
815 B
Python
"""add request_id to steps table
|
|
|
|
Revision ID: ee2b43eea55e
|
|
Revises: 39577145c45d
|
|
Create Date: 2025-12-17 13:48:08.642245
|
|
|
|
"""
|
|
|
|
from typing import Sequence, Union
|
|
|
|
import sqlalchemy as sa
|
|
|
|
from alembic import op
|
|
|
|
# revision identifiers, used by Alembic.
|
|
revision: str = "ee2b43eea55e"
|
|
down_revision: Union[str, None] = "39577145c45d"
|
|
branch_labels: Union[str, Sequence[str], None] = None
|
|
depends_on: Union[str, Sequence[str], None] = None
|
|
|
|
|
|
def upgrade() -> None:
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
op.add_column("steps", sa.Column("request_id", sa.String(), nullable=True))
|
|
# ### end Alembic commands ###
|
|
|
|
|
|
def downgrade() -> None:
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
op.drop_column("steps", "request_id")
|
|
# ### end Alembic commands ###
|