split migrations
This commit is contained in:
@@ -6,11 +6,8 @@ MIGRATIONS: tuple[str, ...] = ()
|
|||||||
|
|
||||||
|
|
||||||
def run_database_migrations(conn: sqlite3.Connection) -> int:
|
def run_database_migrations(conn: sqlite3.Connection) -> int:
|
||||||
"""Run pending database migrations.
|
"""Run pending database migrations."""
|
||||||
|
|
||||||
Note: no migrations are currently required because supported databases are
|
|
||||||
already expected to use the current schema version.
|
|
||||||
"""
|
|
||||||
applied = 0
|
applied = 0
|
||||||
for sql in MIGRATIONS:
|
for sql in MIGRATIONS:
|
||||||
conn.execute(sql)
|
conn.execute(sql)
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user