mirror of
https://github.com/langgenius/dify.git
synced 2026-01-05 22:15:52 +00:00
feat: add flask upgrade-db command for running db upgrade with redis lock (#5333)
This commit is contained in:
@@ -4,7 +4,7 @@ set -e
|
||||
|
||||
if [[ "${MIGRATION_ENABLED}" == "true" ]]; then
|
||||
echo "Running migrations"
|
||||
flask db upgrade
|
||||
flask upgrade-db
|
||||
fi
|
||||
|
||||
if [[ "${MODE}" == "worker" ]]; then
|
||||
|
||||
Reference in New Issue
Block a user