fix(ci): reset stale DB volume, skip create_all in prod, handle alembic stamp fallback
All checks were successful
Deploy to Production / deploy (push) Successful in 47s

This commit is contained in:
Johngreen
2026-02-10 12:46:49 +09:00
parent 6b7a2f2b26
commit eb3dd0a4ab
4 changed files with 10 additions and 3 deletions

View File

@@ -33,6 +33,8 @@ async def get_db():
async def init_db():
if os.getenv("SKIP_CREATE_ALL", "").lower() == "true":
return
from src.database.models import Base as _Base # noqa: F811
async with engine.begin() as conn: