mirror of
https://github.com/spl0k/supysonic.git
synced 2024-12-22 08:56:17 +00:00
parent
536c4e9fb0
commit
56162adbef
@ -649,6 +649,7 @@ def init_database(database_uri):
|
|||||||
# Check for schema changes
|
# Check for schema changes
|
||||||
version = Meta["schema_version"]
|
version = Meta["schema_version"]
|
||||||
if version.value < SCHEMA_VERSION:
|
if version.value < SCHEMA_VERSION:
|
||||||
|
args.pop("pragmas", ())
|
||||||
migrations = sorted(
|
migrations = sorted(
|
||||||
pkg_resources.resource_listdir(__package__, f"schema/migration/{provider}")
|
pkg_resources.resource_listdir(__package__, f"schema/migration/{provider}")
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user