only set debug if flag is present
This commit is contained in:
parent
853dd773f8
commit
d3900ad201
1 changed files with 0 additions and 2 deletions
|
@ -63,8 +63,6 @@ func NewSQLite(cfg map[string]string) (*Context, error) {
|
|||
c.Db.LogMode(true)
|
||||
}
|
||||
|
||||
c.Db.LogMode(true)
|
||||
|
||||
c.flush, _ = strconv.ParseBool(cfg["flush"])
|
||||
// Migrate the schema
|
||||
c.Db.AutoMigrate(&types.EventSequence{}, &types.SignalOccurence{}, &types.BanApplication{})
|
||||
|
|
Loading…
Add table
Reference in a new issue