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