fix migration script

This commit is contained in:
2026-08-31 15:39:35 +03:00
parent e0ebf45ccb
commit 230dd5201b
3 changed files with 9 additions and 56 deletions
+5
View File
@@ -21,6 +21,11 @@ if [ -z "$MODE" ]; then
exit 1
fi
if ! alembic upgrade head; then
echo "Migration failed"
exit 1
fi
if [ "$MODE" = "dev" ]; then
WORKERS="${WORKERS:-1}"
exec gunicorn \