Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

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

wangxiaoleibe7c19844ef6
diff --git a/dev/start-api b/dev/start-api
index 470591908cc..af787119114 100755
--- a/dev/start-api
+++ b/dev/start-api
@@ -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