We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b639ca1 commit cb883bcCopy full SHA for cb883bc
src/prefect/server/database/migrations/script.py.mako
@@ -24,7 +24,7 @@ depends_on = ${repr(depends_on)}
24
25
def upgrade():
26
${'op.execute("PRAGMA foreign_keys=OFF")' if sqlite else ""}
27
- ${upgrades if upgrades elif not upgrades and sqlite "" else "pass"}
+ ${upgrades if upgrades else "pass"}
28
${'op.execute("PRAGMA foreign_keys=ON")' if sqlite else ""}
29
30
def downgrade():
0 commit comments