summaryrefslogtreecommitdiff
path: root/localserver
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-03-13 21:07:22 +0300
committerAndrei Karas <akaras@inbox.ru>2018-03-13 21:07:22 +0300
commite9d36834e9e449620b5d6a8b0896872197fc2d5b (patch)
tree6600036c886e2b6c2b77a568e0125b1f032b38e2 /localserver
parent220c99e0a243ddc9d8c36620a88af52abdaa6c41 (diff)
downloadevol-tools-e9d36834e9e449620b5d6a8b0896872197fc2d5b.tar.gz
evol-tools-e9d36834e9e449620b5d6a8b0896872197fc2d5b.tar.bz2
evol-tools-e9d36834e9e449620b5d6a8b0896872197fc2d5b.tar.xz
evol-tools-e9d36834e9e449620b5d6a8b0896872197fc2d5b.zip
Add db update to version 12.
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 417bc1a..a828a26 100755
--- a/localserver/initdb.sh
+++ b/localserver/initdb.sh
@@ -22,5 +22,5 @@ $CMD <logs.sql
if [[ -z "${VER}" ]]; then
mkdir ${DIR}/versions
- echo "11" >${DIR}/versions/sqlver
+ echo "12" >${DIR}/versions/sqlver
fi
diff --git a/localserver/updatedb.sh b/localserver/updatedb.sh
index 16080b7..6311e59 100755
--- a/localserver/updatedb.sh
+++ b/localserver/updatedb.sh
@@ -59,6 +59,10 @@ if [ "${VER}" -lt "11" ]; then
run "2017-06-04--15-05.sql"
fi
-if [ "${VER}" -lt "11" ]; then
- echo "11" >versions/sqlver
+if [ "${VER}" -lt "12" ]; then
+ run "2018-02-26--15-57.sql"
+fi
+
+if [ "${VER}" -lt "12" ]; then
+ echo "12" >versions/sqlver
fi