Initialize alembic

This commit is contained in:
2026-01-23 10:15:38 +01:00
parent 977dd30e5c
commit cb95d6053d
10 changed files with 391 additions and 4 deletions

View File

@@ -4,5 +4,5 @@ lint:
reset_db:
rm -f aps_db.db
uv run python -c "from allmende_payment_system.database import create_tables; create_tables()"
uv run alembic upgrade heads
for file in db_fixtures/*.sql; do sqlite3 aps_db.db < "$file"; done