Skip to content
Snippets Groups Projects
Commit 1abf2772 authored by Janet Goldstein's avatar Janet Goldstein
Browse files

WS-648: alembic script to add column to capability_versions

parent 60d33e30
No related branches found
No related tags found
1 merge request!500WS-648: alembic script to add column to capability_versions
Pipeline #2870 passed
"""add ws_metadata JSON column to capability_versions
Revision ID: af3e4a4e7ede
Revises: 42723a9dd85c
Create Date: 2021-09-13 17:17:36.743665
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = 'af3e4a4e7ede'
down_revision = '42723a9dd85c'
branch_labels = None
depends_on = None
def upgrade():
op.execute("ALTER TABLE capability_versions ADD COLUMN workflow_metadata JSON")
def downgrade():
op.execute("ALTER TABLE capability_versions DROP COLUMN workflow_metadata")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment