From 9c119b110812a16c1639b8777b935e4074dbfa3b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 8 Jul 2016 21:01:42 +0300 Subject: localserver: add support for sql update version 5. --- localserver/initdb.sh | 2 +- localserver/updatedb.sh | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) (limited to 'localserver') diff --git a/localserver/initdb.sh b/localserver/initdb.sh index cd014bc..7b106f7 100755 --- a/localserver/initdb.sh +++ b/localserver/initdb.sh @@ -22,5 +22,5 @@ $CMD ${DIR}/versions/sqlver + echo "5" >${DIR}/versions/sqlver fi diff --git a/localserver/updatedb.sh b/localserver/updatedb.sh index b6dafe0..2041460 100755 --- a/localserver/updatedb.sh +++ b/localserver/updatedb.sh @@ -28,6 +28,11 @@ if [ "${VER}" -lt "4" ]; then run "2016-03-10--22-18.sql" fi -if [ "${VER}" -lt "4" ]; then - echo "4" >versions/sqlver +if [ "${VER}" -lt "5" ]; then + run "2016-07-08--02-42.sql" + run "2016-07-08--02-51.sql" +fi + +if [ "${VER}" -lt "5" ]; then + echo "5" >versions/sqlver fi -- cgit v1.2.3-70-g09d2