jack 2 ヶ月 前
コミット
30f6c6e1b7
1 ファイル変更4 行追加4 行削除
  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"