diff options
author | Andrei Karas <akaras@inbox.ru> | 2019-01-23 21:42:32 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2019-01-23 21:42:32 +0300 |
commit | a5e265d2adaff23db447e0879e8a91cdd44558be (patch) | |
tree | da34d5290f284e7f2e7f675e0dc00419fef093ba | |
parent | 5220e94daf9c0d83724888ba37d7ca003874089d (diff) | |
download | evol-tools-a5e265d2adaff23db447e0879e8a91cdd44558be.tar.gz evol-tools-a5e265d2adaff23db447e0879e8a91cdd44558be.tar.bz2 evol-tools-a5e265d2adaff23db447e0879e8a91cdd44558be.tar.xz evol-tools-a5e265d2adaff23db447e0879e8a91cdd44558be.zip |
Add db update to version 17.
-rwxr-xr-x | localserver/initdb.sh | 2 | ||||
-rwxr-xr-x | localserver/updatedb.sh | 9 |
2 files changed, 8 insertions, 3 deletions
diff --git a/localserver/initdb.sh b/localserver/initdb.sh index bd53443..b130f71 100755 --- a/localserver/initdb.sh +++ b/localserver/initdb.sh @@ -22,5 +22,5 @@ $CMD <logs.sql if [[ -z "${VER}" ]]; then mkdir ${DIR}/versions - echo "15" >${DIR}/versions/sqlver + echo "17" >${DIR}/versions/sqlver fi diff --git a/localserver/updatedb.sh b/localserver/updatedb.sh index cf54fcf..eb5cf66 100755 --- a/localserver/updatedb.sh +++ b/localserver/updatedb.sh @@ -81,6 +81,11 @@ if [ "${VER}" -lt "16" ]; then run "2018-09-01--05-22.sql" fi -if [ "${VER}" -lt "16" ]; then - echo "16" >versions/sqlver +if [ "${VER}" -lt "17" ]; then + run "2018-12-14--01-02.sql" + run "2018-12-29--07-51.sql" +fi + +if [ "${VER}" -lt "17" ]; then + echo "17" >versions/sqlver fi |