From d1f7f2b26bf49bedf953aead034aa050a61c20e3 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 8 Feb 2018 20:26:55 +0300 Subject: Add db update to version 11. --- localserver/initdb.sh | 2 +- localserver/updatedb.sh | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/localserver/initdb.sh b/localserver/initdb.sh index 9c81fed..417bc1a 100755 --- a/localserver/initdb.sh +++ b/localserver/initdb.sh @@ -22,5 +22,5 @@ $CMD ${DIR}/versions/sqlver + echo "11" >${DIR}/versions/sqlver fi diff --git a/localserver/updatedb.sh b/localserver/updatedb.sh index 0df8fd8..16080b7 100755 --- a/localserver/updatedb.sh +++ b/localserver/updatedb.sh @@ -54,6 +54,11 @@ if [ "${VER}" -lt "10" ]; then run "2017-11-04--10-39.sql" fi -if [ "${VER}" -lt "10" ]; then - echo "10" >versions/sqlver +if [ "${VER}" -lt "11" ]; then + run "2017-06-04--15-04.sql" + run "2017-06-04--15-05.sql" +fi + +if [ "${VER}" -lt "11" ]; then + echo "11" >versions/sqlver fi -- cgit v1.2.3-70-g09d2