"""Regex rule Revision ID: 0ce89e987770 Revises: 7adf89ec8d14 Create Date: 2022-12-10 14:00:49.418494+00:00 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = "0ce89e987770" down_revision = "7adf89ec8d14" branch_labels = None depends_on = None def upgrade() -> None: # ### commands auto generated by Alembic - please adjust! ### op.add_column( "categories_rules", sa.Column("regex", sa.String(), nullable=True), schema="transactions", ) # ### end Alembic commands ### def downgrade() -> None: # ### commands auto generated by Alembic - please adjust! ### op.drop_column("categories_rules", "regex", schema="transactions") # ### end Alembic commands ###