Update main.go
This commit is contained in:
parent
96a509384d
commit
5efd476c0a
2
main.go
2
main.go
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user