1
0

Fix notifications table not being created on initial setup

This commit is contained in:
kolaente
2021-02-22 21:20:13 +01:00
parent 2178166ece
commit 4880a0265b
3 changed files with 46 additions and 0 deletions

View File

@ -29,6 +29,7 @@ import (
"code.vikunja.io/api/pkg/models"
"code.vikunja.io/api/pkg/modules/keyvalue"
migrator "code.vikunja.io/api/pkg/modules/migration"
"code.vikunja.io/api/pkg/notifications"
"code.vikunja.io/api/pkg/red"
"code.vikunja.io/api/pkg/user"
)
@ -66,6 +67,10 @@ func InitEngines() {
if err != nil {
log.Fatal(err.Error())
}
err = notifications.InitDB()
if err != nil {
log.Fatal(err.Error())
}
}
// FullInit initializes all kinds of things in the right order