fix(upgrade): validate migration version
Signed-off-by: Rajesh Rajendran <rjshrjndrn@gmail.com>
This commit is contained in:
parent
fa5b18c631
commit
0a97a7905f
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue