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:
parent
a3cfb06ef7
commit
8fcf67ef17
35 changed files with 251 additions and 178 deletions
2
build.sh
2
build.sh
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue