summaryrefslogtreecommitdiff
path: root/localserver
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-10-24 19:10:06 +0300
committerAndrei Karas <akaras@inbox.ru>2016-10-24 19:10:06 +0300
commit6a3a30028d3830ad4a8d6ffeaa82e7f2d4ab9d71 (patch)
treea4a7f78a2433544a61716391e65d81cc4319cc5e /localserver
parent5fd2ab54805f627b48e7b0a53935f5442a1ea6d9 (diff)
downloadevol-tools-6a3a30028d3830ad4a8d6ffeaa82e7f2d4ab9d71.tar.gz
evol-tools-6a3a30028d3830ad4a8d6ffeaa82e7f2d4ab9d71.tar.bz2
evol-tools-6a3a30028d3830ad4a8d6ffeaa82e7f2d4ab9d71.tar.xz
evol-tools-6a3a30028d3830ad4a8d6ffeaa82e7f2d4ab9d71.zip
Add sql update for version 6.
Diffstat (limited to 'localserver')
-rwxr-xr-xlocalserver/initdb.sh2
-rwxr-xr-xlocalserver/updatedb.sh8
2 files changed, 7 insertions, 3 deletions
diff --git a/localserver/initdb.sh b/localserver/initdb.sh
index 7b106f7..d7625e3 100755
--- a/localserver/initdb.sh
+++ b/localserver/initdb.sh
@@ -22,5 +22,5 @@ $CMD <logs.sql
if [[ -z "${VER}" ]]; then
mkdir ${DIR}/versions
- echo "5" >${DIR}/versions/sqlver
+ echo "6" >${DIR}/versions/sqlver
fi
diff --git a/localserver/updatedb.sh b/localserver/updatedb.sh
index 2041460..e96e5c3 100755
--- a/localserver/updatedb.sh
+++ b/localserver/updatedb.sh
@@ -33,6 +33,10 @@ if [ "${VER}" -lt "5" ]; then
run "2016-07-08--02-51.sql"
fi
-if [ "${VER}" -lt "5" ]; then
- echo "5" >versions/sqlver
+if [ "${VER}" -lt "6" ]; then
+ run "2016-10-03--20-27.sql"
+fi
+
+if [ "${VER}" -lt "6" ]; then
+ echo "6" >versions/sqlver
fi