diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-26 01:12:25 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-26 01:12:25 +0300 |
commit | 03de3fcca9e2e08b00b2dfefe77230072860e959 (patch) | |
tree | 495bf46ed78750b151f0cdee5f33b0ed03cedbfd | |
parent | 673ec8e4a53245228c6212c3290fb9a5b5ab023d (diff) | |
download | tools-03de3fcca9e2e08b00b2dfefe77230072860e959.tar.gz tools-03de3fcca9e2e08b00b2dfefe77230072860e959.tar.bz2 tools-03de3fcca9e2e08b00b2dfefe77230072860e959.tar.xz tools-03de3fcca9e2e08b00b2dfefe77230072860e959.zip |
Add db update to version 10.s20180116
-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 7c99524..9c81fed 100755 --- a/localserver/initdb.sh +++ b/localserver/initdb.sh @@ -22,5 +22,5 @@ $CMD <logs.sql if [[ -z "${VER}" ]]; then mkdir ${DIR}/versions - echo "8" >${DIR}/versions/sqlver + echo "10" >${DIR}/versions/sqlver fi diff --git a/localserver/updatedb.sh b/localserver/updatedb.sh index e048658..0df8fd8 100755 --- a/localserver/updatedb.sh +++ b/localserver/updatedb.sh @@ -50,6 +50,10 @@ if [ "${VER}" -lt "9" ]; then run "2017-03-15--14-29.sql" fi -if [ "${VER}" -lt "9" ]; then - echo "9" >versions/sqlver +if [ "${VER}" -lt "10" ]; then + run "2017-11-04--10-39.sql" +fi + +if [ "${VER}" -lt "10" ]; then + echo "10" >versions/sqlver fi |