1
0
mirror of https://github.com/spl0k/supysonic.git synced 2024-12-22 08:56:17 +00:00

Drop the "pragmas" kw for Python SQLite migrations

Fixes #244
This commit is contained in:
Alban Féron 2023-02-11 14:47:54 +01:00
parent 536c4e9fb0
commit 56162adbef
No known key found for this signature in database
GPG Key ID: 8CE0313646D16165

View File

@ -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}")
)