run migrations as part of prod run

This commit is contained in:
Viktor Barzin 2025-06-30 23:14:30 +00:00
parent 5adffc8dcf
commit 3a4fbdf99a
No known key found for this signature in database
GPG key ID: 4056458DBDBF8863

View file

@ -22,6 +22,7 @@ case "$ENV_MODE" in
;;
prod)
echo "🚀 Running in PRODUCTION mode"
alembic upgrade head
celery -A celery_app worker &
CELERY_PID=$!
;;