jack 1 month ago
parent
commit
30f6c6e1b7
1 changed files with 4 additions and 4 deletions
  1. 4 4
      docker/entrypoint.sh

+ 4 - 4
docker/entrypoint.sh

@@ -2,10 +2,10 @@
 
 set -e
 
-#if [[ "${MIGRATION_ENABLED}" == "true" ]]; then
-#  echo "Running migrations"
-#  alembic upgrade head
-#fi
+if [[ "${MIGRATION_ENABLED}" == "true" ]]; then
+  echo "Running migrations"
+  alembic upgrade head
+fi
 
 if [[ "${MODE}" == "worker" ]]; then
   echo "celery run"