mirror of
https://github.com/DRYTRIX/TimeTracker.git
synced 2026-05-17 10:29:49 -05:00
d0cc0e08aa
- Add _sqlite_path_from_url() and use it for SQLite path resolution in wait_for_database, cleanup, and verify_core_tables. - run_migrations: pre/post probe and alembic/core checks work for both PostgreSQL and SQLite (sqlite_master, etc.). - cleanup_corrupted_database_state: support SQLite by removing corrupted DB file when appropriate so migrations can recreate it; keep PostgreSQL table-drop behavior. - verify_core_tables: for SQLite, list all tables, log path and clearer errors when core tables or alembic_version are missing.