Skip to content

Commit 2c0607f

Browse files
author
Diego Nadares
committed
Merge branch 'white/staging' into white/master
2 parents 05fab22 + 9fa864b commit 2c0607f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

faraday/migrations/versions/b5065f401599_report_template_object_type.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616

1717

1818
def upgrade():
19-
op.execute("ALTER TYPE object_types ADD VALUE IF NOT EXISTS 'report_template'")
19+
with op.get_context().autocommit_block():
20+
op.execute("ALTER TYPE object_types ADD VALUE IF NOT EXISTS 'report_template'")
2021

2122

2223
def downgrade():

0 commit comments

Comments
 (0)