ripasso-cursive: cosmetic changes (#361736)
[NixPkgs.git] / pkgs / by-name / po / powerdns-admin / 0003-Fix-flask-migrate-4.0-compatibility.patch
blobc9956ae22f75b4f0cda40ed247d15f4ac1d906bf
1 From 8c320a34bcca6dc2c1b423a1445235bf178b653e Mon Sep 17 00:00:00 2001
2 From: Flakebi <flakebi@t-online.de>
3 Date: Sat, 2 Dec 2023 16:31:02 +0100
4 Subject: [PATCH 3/6] Fix flask-migrate 4.0 compatibility
6 See https://github.com/PowerDNS-Admin/PowerDNS-Admin/issues/1376
7 ---
8 migrations/env.py | 1 -
9 1 file changed, 1 deletion(-)
11 diff --git a/migrations/env.py b/migrations/env.py
12 index 4742e14..739d753 100755
13 --- a/migrations/env.py
14 +++ b/migrations/env.py
15 @@ -73,7 +73,6 @@ def run_migrations_online():
16 context.configure(connection=connection,
17 target_metadata=target_metadata,
18 process_revision_directives=process_revision_directives,
19 - render_as_batch=config.get_main_option('sqlalchemy.url').startswith('sqlite:'),
20 **current_app.extensions['migrate'].configure_args)
22 try:
23 --
24 2.42.0