Skip to content
Snippets Groups Projects

correcting capability and workflow names post Mark discussion

Merged Charlotte Hausman requested to merge Standard_CMS_Imaging into main
1 file
+ 45
0
Compare changes
  • Side-by-side
  • Inline
"""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'
"""
)
Loading