feat(db): Alembic migration for users table (async env, DATABASE_URL)
build-image / test (push) Successful in 10s
build-image / build (push) Successful in 24s

Adds alembic/ (async env.py driven by DATABASE_URL) and the 0001 users-table
migration matching the model. enabled now has a DB-level server_default of false
(secure default even for non-ORM inserts). Verified upgrade/downgrade on sqlite.
This commit is contained in:
2026-07-04 19:35:55 -04:00
parent f067f9639a
commit 8204675a66
6 changed files with 160 additions and 2 deletions
+2
View File
@@ -183,3 +183,5 @@ TODO
.claude/
.DS_Store
CLAUDE.md
_alembic_test.db
*.db