From a5e265d2adaff23db447e0879e8a91cdd44558be Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 23 Jan 2019 21:42:32 +0300 Subject: Add db update to version 17. --- 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 bd53443..b130f71 100755 --- a/localserver/initdb.sh +++ b/localserver/initdb.sh @@ -22,5 +22,5 @@ $CMD ${DIR}/versions/sqlver + echo "17" >${DIR}/versions/sqlver fi diff --git a/localserver/updatedb.sh b/localserver/updatedb.sh index cf54fcf..eb5cf66 100755 --- a/localserver/updatedb.sh +++ b/localserver/updatedb.sh @@ -81,6 +81,11 @@ if [ "${VER}" -lt "16" ]; then run "2018-09-01--05-22.sql" fi -if [ "${VER}" -lt "16" ]; then - echo "16" >versions/sqlver +if [ "${VER}" -lt "17" ]; then + run "2018-12-14--01-02.sql" + run "2018-12-29--07-51.sql" +fi + +if [ "${VER}" -lt "17" ]; then + echo "17" >versions/sqlver fi -- cgit v1.2.3-70-g09d2