"""add_approve_campaign_history_event Revision ID: 66850b91e86f Revises: f84a6abc81ea Create Date: 2020-09-09 12:42:45.694835 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '66850b91e86f' down_revision = 'dc82a739de05' branch_labels = None depends_on = None def upgrade(): # ### commands auto generated by Alembic - please adjust! ### bind = op.get_bind() bind.execute(""" INSERT INTO "ProjectHistoryAction" VALUES (31, 'approve_gras_campaign') """) # ### end Alembic commands ### def downgrade(): # ### commands auto generated by Alembic - please adjust! ### bind = op.get_bind() bind.execute("""DELETE FROM "ProjectHistoryAction" WHERE id = 31""") # ### end Alembic commands ###