fix: migration failed, directly exit the script (#36993)

Co-authored-by: Byron Wang <byron@dify.ai>
This commit is contained in:
wangxiaoleiandByron Wang authored and GitHub committed 2026-11-04 07:12:55 +00:00
1 parent 214cdfd6fa
commit be7c19844e
1 file changed
+1 -1
+1 -1
View File
@@ -5,7 +5,7 @@ set -x
SCRIPT_DIR="$(dirname "$(realpath "$0")")"
cd "$SCRIPT_DIR/../api" || exit 1
uv run flask db upgrade
uv run flask db upgrade || exit 1
uv run \
dotenv -f .env run --no-override -- python -m app