mirror of
https://github.com/YFGaia/dify-plus.git
synced 2026-06-04 10:14:00 +08:00
fix:加上二开迁移命令的运行
This commit is contained in:
@@ -5,6 +5,8 @@ set -e
|
||||
if [[ "${MIGRATION_ENABLED}" == "true" ]]; then
|
||||
echo "Running migrations"
|
||||
flask upgrade-db
|
||||
echo "Running migrations(dify_plus extend)"
|
||||
flask extend_db upgrade
|
||||
fi
|
||||
|
||||
if [[ "${MODE}" == "worker" ]]; then
|
||||
|
||||
Reference in New Issue
Block a user