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

remove old null.dag file, superseded by null_dag capability

parent 6233e899
No related branches found
No related tags found
1 merge request!528remove old null.dag file, superseded by null_dag capability
Pipeline #3012 passed
"""remove old null.dag file
Revision ID: 4e009168b3bf
Revises: 8a027ec917ff
Create Date: 2021-09-22 13:48:45.063540
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = "4e009168b3bf"
down_revision = "8a027ec917ff"
branch_labels = None
depends_on = None
def upgrade():
op.execute(
"""
DELETE FROM workflow_templates WHERE filename='null.dag'
"""
)
def downgrade():
op.execute(
"""
INSERT INTO workflow_templates (filename, content, workflow_name)
VALUES ('null.dag', E'JOB null null.condor', 'null')
"""
)
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