Updated migration to support sqlite

This commit is contained in:
Donkie
2023-08-12 22:33:20 +02:00
parent 4cb2542a41
commit af77bf6c26
2 changed files with 5 additions and 2 deletions

View File

@@ -34,6 +34,7 @@ def run_migrations_offline() -> None:
target_metadata=target_metadata,
literal_binds=True,
dialect_opts={"paramstyle": "named"},
render_as_batch=True,
)
with context.begin_transaction():