"""add_new_history_action Revision ID: a2768f6c8f85 Revises: 5d7fe66de1a3 Create Date: 2021-05-24 09:52:44.730491 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = 'a2768f6c8f85' down_revision = '5d7fe66de1a3' branch_labels = None depends_on = None def upgrade(): bind = op.get_bind() bind.execute( """ INSERT INTO "ProjectHistoryAction"(id, type) VALUES (33, 'change_campaign_linkfire_links'); """ ) def downgrade(): bind = op.get_bind() bind.execute( """ DELETE FROM "ProjectHistoryAction" WHERE id = 33; """ )