From 56162adbefb7334c49a636278162dac326b43641 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alban=20F=C3=A9ron?= Date: Sat, 11 Feb 2023 14:47:54 +0100 Subject: [PATCH] Drop the "pragmas" kw for Python SQLite migrations Fixes #244 --- supysonic/db.py | 1 + 1 file changed, 1 insertion(+) diff --git a/supysonic/db.py b/supysonic/db.py index 7b3da49..0c745cd 100644 --- a/supysonic/db.py +++ b/supysonic/db.py @@ -649,6 +649,7 @@ def init_database(database_uri): # Check for schema changes version = Meta["schema_version"] if version.value < SCHEMA_VERSION: + args.pop("pragmas", ()) migrations = sorted( pkg_resources.resource_listdir(__package__, f"schema/migration/{provider}") )