summaryrefslogtreecommitdiff
path: root/localserver
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-07-08 21:01:42 +0300
committerAndrei Karas <akaras@inbox.ru>2016-07-08 21:01:42 +0300
commit9c119b110812a16c1639b8777b935e4074dbfa3b (patch)
tree58fd37ae08edf4b6d31a175b81929ce00199f70f /localserver
parente2fa6c4e68bbded8b7854586ca9fcd73f5ebcbab (diff)
downloadevol-tools-9c119b110812a16c1639b8777b935e4074dbfa3b.tar.gz
evol-tools-9c119b110812a16c1639b8777b935e4074dbfa3b.tar.bz2
evol-tools-9c119b110812a16c1639b8777b935e4074dbfa3b.tar.xz
evol-tools-9c119b110812a16c1639b8777b935e4074dbfa3b.zip
localserver: add support for sql update version 5.
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 cd014bc..7b106f7 100755
--- a/localserver/initdb.sh
+++ b/localserver/initdb.sh
@@ -22,5 +22,5 @@ $CMD <logs.sql
if [[ -z "${VER}" ]]; then
mkdir ${DIR}/versions
- echo "2" >${DIR}/versions/sqlver
+ echo "5" >${DIR}/versions/sqlver
fi
diff --git a/localserver/updatedb.sh b/localserver/updatedb.sh
index b6dafe0..2041460 100755
--- a/localserver/updatedb.sh
+++ b/localserver/updatedb.sh
@@ -28,6 +28,11 @@ if [ "${VER}" -lt "4" ]; then
run "2016-03-10--22-18.sql"
fi
-if [ "${VER}" -lt "4" ]; then
- echo "4" >versions/sqlver
+if [ "${VER}" -lt "5" ]; then
+ run "2016-07-08--02-42.sql"
+ run "2016-07-08--02-51.sql"
+fi
+
+if [ "${VER}" -lt "5" ]; then
+ echo "5" >versions/sqlver
fi