Skip to content
Snippets Groups Projects
Commit b19d96cf authored by Charlotte Hausman's avatar Charlotte Hausman
Browse files

correcting capability and workflow names post Mark discussion

parent 20bedbac
No related branches found
No related tags found
1 merge request!312correcting capability and workflow names post Mark discussion
Pipeline #2042 failed
"""correct standard imaging name
Revision ID: 6ce7b4b8a9ea
Revises: 78cb60242d23
Create Date: 2021-06-28 15:34:49.558048
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '6ce7b4b8a9ea'
down_revision = '78cb60242d23'
branch_labels = None
depends_on = None
def upgrade():
op.execute(
"""
UPDATE capabilities SET capability_name='std_cms_imaging' WHERE capability_name='std_imaging'
"""
)
op.execute(
"""
UPDATE workflows SET workflow_name='std_cms_imaging' WHERE workflow_name='std_imaging'
"""
)
def downgrade():
op.execute(
"""
UPDATE capabilities SET capability_name='std_imaging' WHERE capability_name='std_cms_imaging'
"""
)
op.execute(
"""
UPDATE workflows SET workflow_name='std_imaging' WHERE workflow_name='std_cms_imaging'
"""
)
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