Update main.go

This commit is contained in:
Dominic Renner 2019-03-06 22:21:24 +01:00 committed by GitHub
parent 96a509384d
commit 5efd476c0a

View File

@ -147,7 +147,7 @@ func (bridge *Bridge) Init() {
} }
func (bridge *Bridge) Start() { func (bridge *Bridge) Start() {
err := bridge.DB.CreateTables() err := bridge.DB.CreateTables(bridge.Config.AppService.Database.Type)
if err != nil { if err != nil {
bridge.Log.Fatalln("Failed to create database tables:", err) bridge.Log.Fatalln("Failed to create database tables:", err)
os.Exit(15) os.Exit(15)