mirror of
https://github.com/langgenius/dify.git
synced 2026-11-10 21:35:45 +08:00
fix: migration failed, directly exit the script (#36993)
Co-authored-by: Byron Wang <byron@dify.ai>
This commit is contained in:
1 parent
214cdfd6fa
commit
be7c19844e
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
Reference in new issue
Block a user