mirror of
https://github.com/documize/community.git
synced 2025-07-22 22:59:43 +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
|
@ -1,15 +1,16 @@
|
|||
// Copyright 2016 Documize Inc. <legal@documize.com>. All rights reserved.
|
||||
//
|
||||
// This software (Documize Community Edition) is licensed under
|
||||
// This software (Documize Community Edition) is licensed under
|
||||
// GNU AGPL v3 http://www.gnu.org/licenses/agpl-3.0.en.html
|
||||
//
|
||||
// You can operate outside the AGPL restrictions by purchasing
|
||||
// Documize Enterprise Edition and obtaining a commercial license
|
||||
// by contacting <sales@documize.com>.
|
||||
// by contacting <sales@documize.com>.
|
||||
//
|
||||
// https://documize.com
|
||||
|
||||
package request
|
||||
|
||||
/* TODO(Elliott)
|
||||
import "testing"
|
||||
import "net/http"
|
||||
|
@ -38,4 +39,4 @@ func ds(t *testing.T, in, out1, out2 string) {
|
|||
t.Errorf("GetSubdomainFromHost input `%s` got `%s` expected `%s`\n", in, got2, out2)
|
||||
}
|
||||
}
|
||||
*/
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue