quartermaster/alembic
archeious a09860dc61 feat(ops): alembic env hook invokes backup-db.sh before migrations
Runs at env module load so the backup fires ahead of offline and
online migration paths, as well as alembic current / revision. A
failing backup does not stop the migration: this is defense in depth,
not a hard prerequisite, and the common failure case is "DB does not
exist yet" on a fresh checkout.

Refs #5

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-17 11:51:49 -06:00
..
versions feat(db): add Entry and DebtTarget models with initial migration 2026-04-17 11:04:06 -06:00
env.py feat(ops): alembic env hook invokes backup-db.sh before migrations 2026-04-17 11:51:49 -06:00
README feat(db): add Entry and DebtTarget models with initial migration 2026-04-17 11:04:06 -06:00
script.py.mako feat(db): add Entry and DebtTarget models with initial migration 2026-04-17 11:04:06 -06:00

Generic single-database configuration.