"""add outline search

Revision ID: 2b1ab31b4e9f
Revises: a49eb857dc0e
Create Date: 2025-08-18 16:02:23.425528

"""

from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = "2b1ab31b4e9f"
down_revision = "a49eb857dc0e"
branch_labels = None
depends_on = None


def upgrade() -> None:
    # ### commands auto generated by Alembic - please adjust! ###
    op.create_table(
        "outline_search_step",
        sa.Column("id", sa.Integer(), nullable=False),
        sa.ForeignKeyConstraint(
            ["id"], ["public.step.id"], name=op.f("fk_outline_search_step_id_step"), ondelete="CASCADE"
        ),
        sa.PrimaryKeyConstraint("id", name=op.f("pk_outline_search_step")),
        schema="public",
    )
    # ### end Alembic commands ###


def downgrade() -> None:
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_table("outline_search_step", schema="public")
    # ### end Alembic commands ###
