From 03de3fcca9e2e08b00b2dfefe77230072860e959 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 26 Dec 2017 01:12:25 +0300 Subject: Add db update to version 10. --- localserver/initdb.sh | 2 +- localserver/updatedb.sh | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/localserver/initdb.sh b/localserver/initdb.sh index 7c99524..9c81fed 100755 --- a/localserver/initdb.sh +++ b/localserver/initdb.sh @@ -22,5 +22,5 @@ $CMD ${DIR}/versions/sqlver + echo "10" >${DIR}/versions/sqlver fi diff --git a/localserver/updatedb.sh b/localserver/updatedb.sh index e048658..0df8fd8 100755 --- a/localserver/updatedb.sh +++ b/localserver/updatedb.sh @@ -50,6 +50,10 @@ if [ "${VER}" -lt "9" ]; then run "2017-03-15--14-29.sql" fi -if [ "${VER}" -lt "9" ]; then - echo "9" >versions/sqlver +if [ "${VER}" -lt "10" ]; then + run "2017-11-04--10-39.sql" +fi + +if [ "${VER}" -lt "10" ]; then + echo "10" >versions/sqlver fi -- cgit v1.2.3-70-g09d2