diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-07-13 22:22:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-07-13 22:22:39 +0300 |
commit | 9ae7c78fa2a33e13bfaf6883b508603b89ac86ab (patch) | |
tree | b6ee48bc89da3b5ccde5093c27e8b6238de623c6 | |
parent | 4e3ba82fa204837c449fca26a227014dacb496ed (diff) | |
download | evol-tools-s20180726.tar.gz evol-tools-s20180726.tar.bz2 evol-tools-s20180726.tar.xz evol-tools-s20180726.zip |
Add db update to version 14.s20180726
-rwxr-xr-x | localserver/initdb.sh | 2 | ||||
-rwxr-xr-x | localserver/updatedb.sh | 8 |
2 files changed, 7 insertions, 3 deletions
diff --git a/localserver/initdb.sh b/localserver/initdb.sh index 2354df2..c391f66 100755 --- a/localserver/initdb.sh +++ b/localserver/initdb.sh @@ -22,5 +22,5 @@ $CMD <logs.sql if [[ -z "${VER}" ]]; then mkdir ${DIR}/versions - echo "13" >${DIR}/versions/sqlver + echo "14" >${DIR}/versions/sqlver fi diff --git a/localserver/updatedb.sh b/localserver/updatedb.sh index 21ff7e4..4678826 100755 --- a/localserver/updatedb.sh +++ b/localserver/updatedb.sh @@ -67,6 +67,10 @@ if [ "${VER}" -lt "13" ]; then run "2018-03-10--04-06.sql" fi -if [ "${VER}" -lt "13" ]; then - echo "13" >versions/sqlver +if [ "${VER}" -lt "14" ]; then + run "2018-06-05--12-02.sql" +fi + +if [ "${VER}" -lt "14" ]; then + echo "14" >versions/sqlver fi |