diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-02-08 20:26:55 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-02-08 20:26:55 +0300 |
commit | d1f7f2b26bf49bedf953aead034aa050a61c20e3 (patch) | |
tree | f5d4d14b52598660af22cbe85a50ee40eea13cf0 | |
parent | 520d3e36e7d0d185d46e44087d3f32647714ccba (diff) | |
download | tools-d1f7f2b26bf49bedf953aead034aa050a61c20e3.tar.gz tools-d1f7f2b26bf49bedf953aead034aa050a61c20e3.tar.bz2 tools-d1f7f2b26bf49bedf953aead034aa050a61c20e3.tar.xz tools-d1f7f2b26bf49bedf953aead034aa050a61c20e3.zip |
Add db update to version 11.
-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 9c81fed..417bc1a 100755 --- a/localserver/initdb.sh +++ b/localserver/initdb.sh @@ -22,5 +22,5 @@ $CMD <logs.sql if [[ -z "${VER}" ]]; then mkdir ${DIR}/versions - echo "10" >${DIR}/versions/sqlver + echo "11" >${DIR}/versions/sqlver fi diff --git a/localserver/updatedb.sh b/localserver/updatedb.sh index 0df8fd8..16080b7 100755 --- a/localserver/updatedb.sh +++ b/localserver/updatedb.sh @@ -54,6 +54,11 @@ if [ "${VER}" -lt "10" ]; then run "2017-11-04--10-39.sql" fi -if [ "${VER}" -lt "10" ]; then - echo "10" >versions/sqlver +if [ "${VER}" -lt "11" ]; then + run "2017-06-04--15-04.sql" + run "2017-06-04--15-05.sql" +fi + +if [ "${VER}" -lt "11" ]; then + echo "11" >versions/sqlver fi |