shout-create-fix
Some checks failed
Deploy on push / deploy (push) Failing after 3m5s

This commit is contained in:
2025-08-23 10:56:26 +03:00
parent b4f683a7cc
commit d38c1485e4
4 changed files with 92 additions and 4 deletions

View File

@@ -216,7 +216,9 @@ async def lifespan(app: Starlette):
try:
import subprocess
result = subprocess.run(["alembic", "upgrade", "head"], check=False, capture_output=True, text=True, cwd="/app")
result = subprocess.run(
["alembic", "upgrade", "head"], check=False, capture_output=True, text=True, cwd="/app"
)
if result.returncode == 0:
print("[lifespan] Database migrations completed successfully")
else: