1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-19 05:09:42 +02:00

Run multiple sql files to update the db as required

Locks the config table to make sure only one instance does the update.
Refactors the start-up against an empty database code to also use the
same update mechanism.
This commit is contained in:
Elliott Stoneham 2016-07-15 16:54:07 +01:00
parent a3cfb06ef7
commit 8fcf67ef17
35 changed files with 251 additions and 178 deletions

View file

@ -37,7 +37,7 @@ go generate
echo "Compiling app..."
cd ../..
for arch in amd64 386 ; do
for arch in amd64 ; do
for os in darwin linux windows ; do
if [ "$os" == "windows" ] ; then
echo "Compiling documize-$os-$arch.exe"