diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-07-08 21:01:42 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-07-08 21:01:42 +0300 |
commit | 9c119b110812a16c1639b8777b935e4074dbfa3b (patch) | |
tree | 58fd37ae08edf4b6d31a175b81929ce00199f70f /localserver | |
parent | e2fa6c4e68bbded8b7854586ca9fcd73f5ebcbab (diff) | |
download | evol-tools-9c119b110812a16c1639b8777b935e4074dbfa3b.tar.gz evol-tools-9c119b110812a16c1639b8777b935e4074dbfa3b.tar.bz2 evol-tools-9c119b110812a16c1639b8777b935e4074dbfa3b.tar.xz evol-tools-9c119b110812a16c1639b8777b935e4074dbfa3b.zip |
localserver: add support for sql update version 5.
Diffstat (limited to 'localserver')
-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 cd014bc..7b106f7 100755 --- a/localserver/initdb.sh +++ b/localserver/initdb.sh @@ -22,5 +22,5 @@ $CMD <logs.sql if [[ -z "${VER}" ]]; then mkdir ${DIR}/versions - echo "2" >${DIR}/versions/sqlver + echo "5" >${DIR}/versions/sqlver fi diff --git a/localserver/updatedb.sh b/localserver/updatedb.sh index b6dafe0..2041460 100755 --- a/localserver/updatedb.sh +++ b/localserver/updatedb.sh @@ -28,6 +28,11 @@ if [ "${VER}" -lt "4" ]; then run "2016-03-10--22-18.sql" fi -if [ "${VER}" -lt "4" ]; then - echo "4" >versions/sqlver +if [ "${VER}" -lt "5" ]; then + run "2016-07-08--02-42.sql" + run "2016-07-08--02-51.sql" +fi + +if [ "${VER}" -lt "5" ]; then + echo "5" >versions/sqlver fi |