Skip to content
This repository was archived by the owner on Jul 19, 2023. It is now read-only.

Commit b7224e7

Browse files
committed
Add mlflow db upgrade
1 parent 8fce928 commit b7224e7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scripts/mlflow.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ if [[ -z "${MLFLOW_BACKEND_URI}" ]]; then
4949
unset MLFLOW_DB_PORT
5050
fi
5151

52+
echo "Upgrading database..."
53+
mlflow db upgrade ${MLFLOW_BACKEND_URI}
54+
5255
echo "Starting mlflow server"
5356

5457
exec mlflow server --host 0.0.0.0 --port 5001 \

0 commit comments

Comments
 (0)