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

fix alembic issues

parent 551495bb
No related branches found
No related tags found
2 merge requests!1607merge 2.8.3 to main,!1606catch 2.8.3 up with main
Pipeline #14798 passed
"""empty message
Revision ID: 7ec92e7da566
Revises: e680d469ec4e, ce2cca9f1220
Create Date: 2024-03-20 09:54:03.401572
"""
# revision identifiers, used by Alembic.
revision = "7ec92e7da566"
down_revision = ("e680d469ec4e", "ce2cca9f1220")
branch_labels = None
depends_on = None
def upgrade():
pass
def downgrade():
pass
......@@ -7,15 +7,13 @@ Create Date: 2024-03-11 10:35:18.654783
"""
from alembic import op
from pathlib import Path
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = 'ce2cca9f1220'
down_revision = 'd992b379d8a7'
revision = "ce2cca9f1220"
down_revision = "d992b379d8a7"
branch_labels = None
depends_on = None
conn = op.get_bind()
old_condor = "envoy_condor_2.8.2.txt"
new_condor = "envoy_condor_2.8.3.txt"
......@@ -25,6 +23,8 @@ def set_wf_content(wf_name: str, filename: str) -> bytes:
def upgrade():
conn = op.get_bind()
# Transfer the image flag template into condor
conn.execute(
f"""
......@@ -55,6 +55,8 @@ def upgrade():
def downgrade():
conn = op.get_bind()
conn.execute(
f"""
UPDATE workflow_templates
......
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