summaryrefslogtreecommitdiff
path: root/localserver
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2019-01-23 21:42:32 +0300
committerAndrei Karas <akaras@inbox.ru>2019-01-23 21:42:32 +0300
commita5e265d2adaff23db447e0879e8a91cdd44558be (patch)
treeda34d5290f284e7f2e7f675e0dc00419fef093ba /localserver
parent5220e94daf9c0d83724888ba37d7ca003874089d (diff)
downloadevol-tools-a5e265d2adaff23db447e0879e8a91cdd44558be.tar.gz
evol-tools-a5e265d2adaff23db447e0879e8a91cdd44558be.tar.bz2
evol-tools-a5e265d2adaff23db447e0879e8a91cdd44558be.tar.xz
evol-tools-a5e265d2adaff23db447e0879e8a91cdd44558be.zip
Add db update to version 17.
Diffstat (limited to 'localserver')
-rwxr-xr-xlocalserver/initdb.sh2
-rwxr-xr-xlocalserver/updatedb.sh9
2 files changed, 8 insertions, 3 deletions
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 <logs.sql
if [[ -z "${VER}" ]]; then
mkdir ${DIR}/versions
- echo "15" >${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