Skip to content

Commit 630988d

Browse files
committed
Fix sync migrations
1 parent 540c4f2 commit 630988d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/alembic/env.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def migration_callable(*args, **kwargs):
155155

156156
await rec["connection"].run_sync(migration_callable)
157157
else:
158-
do_run_migration(name, rec)
158+
do_run_migration(rec["connection"], name)
159159

160160
if USE_TWOPHASE:
161161
for rec in engines.values():

0 commit comments

Comments
 (0)