diff --git a/scripts/helmcharts/openreplay/files/dbops.sh b/scripts/helmcharts/openreplay/files/dbops.sh index 8929be5cd..b69d21db4 100644 --- a/scripts/helmcharts/openreplay/files/dbops.sh +++ b/scripts/helmcharts/openreplay/files/dbops.sh @@ -4,6 +4,9 @@ cd $(dirname $0) is_migrate=$1 +# Converting alphaneumeric to number. +PREVIOUS_APP_VERSION=`echo $PREVIOUS_APP_VERSION | cut -d "v" -f2` + function migration() { ls -la /opt/openreplay/openreplay db=$1