"""Add column to regex spans for pattern matches

Revision ID: 915c200914f5
Revises: c48da0268fd9
Create Date: 2023-11-30 12:28:08.454746

"""

import sqlalchemy as sa
from alembic import op

# revision identifiers, used by Alembic.
revision = "915c200914f5"
down_revision = "c48da0268fd9"
branch_labels = None
depends_on = None


def upgrade() -> None:
    # ### commands auto generated by Alembic - please adjust! ###
    op.add_column("regex_matches", sa.Column("pattern", sa.String(), nullable=True))
    # ### end Alembic commands ###


def downgrade() -> None:
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_column("regex_matches", "pattern")
    # ### end Alembic commands ###
