fix:加上二开迁移命令的运行

This commit is contained in:
FamousMai
2025-04-19 17:14:37 +08:00
parent 6286dbf489
commit 82abb76c5e
+2
View File
@@ -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