Files
govoplan-core/src/govoplan_core/db/migrate.py
T
2026-06-24 01:43:10 +02:00

15 lines
376 B
Python

from __future__ import annotations
from govoplan_core.db.migrations import migrate_database
def main() -> None:
result = migrate_database()
if result.reconciled_revision:
print(f"Reconciled legacy database marker to {result.reconciled_revision}.")
print(f"Database schema upgraded to {result.current_revision}.")
if __name__ == "__main__":
main()