summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-04-11 19:06:51 +0300
committerAndrei Karas <akaras@inbox.ru>2017-04-11 19:06:51 +0300
commit142d5305c2d926b427914f3356bfb79fd19537b1 (patch)
tree849770b38f1917c9561ce4d76d6ee814a92654de
parent7f8f128399685336d996dc348d9291105067322a (diff)
downloadtools-142d5305c2d926b427914f3356bfb79fd19537b1.tar.gz
tools-142d5305c2d926b427914f3356bfb79fd19537b1.tar.bz2
tools-142d5305c2d926b427914f3356bfb79fd19537b1.tar.xz
tools-142d5305c2d926b427914f3356bfb79fd19537b1.zip
Update sql db version to 8.s20170419
-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 9167e91..cd8557a 100755
--- a/localserver/initdb.sh
+++ b/localserver/initdb.sh
@@ -22,5 +22,5 @@ $CMD <logs.sql
if [[ -z "${VER}" ]]; then
mkdir ${DIR}/versions
- echo "7" >${DIR}/versions/sqlver
+ echo "8" >${DIR}/versions/sqlver
fi
diff --git a/localserver/updatedb.sh b/localserver/updatedb.sh
index 66f8754..ee58056 100755
--- a/localserver/updatedb.sh
+++ b/localserver/updatedb.sh
@@ -41,6 +41,11 @@ if [ "${VER}" -lt "7" ]; then
run "2016-10-26--10-29.sql"
fi
-if [ "${VER}" -lt "7" ]; then
- echo "7" >versions/sqlver
+if [ "${VER}" -lt "8" ]; then
+ run "2017-03-02--11-40.sql"
+ run "2017-03-05--08-09.sql"
+fi
+
+if [ "${VER}" -lt "8" ]; then
+ echo "8" >versions/sqlver
fi