summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-04-17 21:27:25 +0300
committerAndrei Karas <akaras@inbox.ru>2018-04-17 21:27:50 +0300
commit619cf054c3ca2ad08b5dd7c39a347272b4ebca5f (patch)
tree21a08d7139000a7621477a195f7affd675499ef8
parent3a8215e125095d8d0ff8696e663c877ac3e87368 (diff)
downloadevol-tools-619cf054c3ca2ad08b5dd7c39a347272b4ebca5f.tar.gz
evol-tools-619cf054c3ca2ad08b5dd7c39a347272b4ebca5f.tar.bz2
evol-tools-619cf054c3ca2ad08b5dd7c39a347272b4ebca5f.tar.xz
evol-tools-619cf054c3ca2ad08b5dd7c39a347272b4ebca5f.zip
Add db update to version 13.s20180503s20180419
-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 a828a26..2354df2 100755
--- a/localserver/initdb.sh
+++ b/localserver/initdb.sh
@@ -22,5 +22,5 @@ $CMD <logs.sql
if [[ -z "${VER}" ]]; then
mkdir ${DIR}/versions
- echo "12" >${DIR}/versions/sqlver
+ echo "13" >${DIR}/versions/sqlver
fi
diff --git a/localserver/updatedb.sh b/localserver/updatedb.sh
index 6311e59..21ff7e4 100755
--- a/localserver/updatedb.sh
+++ b/localserver/updatedb.sh
@@ -63,6 +63,10 @@ if [ "${VER}" -lt "12" ]; then
run "2018-02-26--15-57.sql"
fi
-if [ "${VER}" -lt "12" ]; then
- echo "12" >versions/sqlver
+if [ "${VER}" -lt "13" ]; then
+ run "2018-03-10--04-06.sql"
+fi
+
+if [ "${VER}" -lt "13" ]; then
+ echo "13" >versions/sqlver
fi