mirror of
https://github.com/documize/community.git
synced 2025-07-23 15:19:42 +02:00
removed old API
This commit is contained in:
parent
e284a46f86
commit
562872a4a8
105 changed files with 337 additions and 14496 deletions
|
@ -68,7 +68,7 @@ func InitRuntime(r *env.Runtime, s *domain.Store) bool {
|
|||
// go into setup mode if required
|
||||
if r.Flags.SiteMode != env.SiteModeOffline {
|
||||
if database.Check(r) {
|
||||
if err := database.Migrate(*r, true /* the config table exists */); err != nil {
|
||||
if err := database.Migrate(r, true /* the config table exists */); err != nil {
|
||||
r.Log.Error("unable to run database migration", err)
|
||||
return false
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue