fix on database package
This commit is contained in:
parent
9bea58a890
commit
ee28c124a0
@ -30,7 +30,7 @@ func Initialize(ctx *context.Context, cfg *config.Config) (err error) {
|
||||
}
|
||||
cfg.Db.SetMapper(names.GonicMapper{})
|
||||
cfg.Db.SetQuotePolicy(dialects.QuotePolicyReserved)
|
||||
cfg.Db.ShowSQL(cfg.Switchs.Debug)
|
||||
cfg.Db.ShowSQL(cfg.Options.Debug)
|
||||
|
||||
//cfg.Db.SetDefaultCacher(cacher)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user