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
All checks were successful
Deploy to Production / deploy (push) Successful in 47s
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user