fix on database package
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

This commit is contained in:
Paul 2023-09-14 15:39:42 +02:00
parent 9bea58a890
commit ee28c124a0

View File

@ -30,7 +30,7 @@ func Initialize(ctx *context.Context, cfg *config.Config) (err error) {
} }
cfg.Db.SetMapper(names.GonicMapper{}) cfg.Db.SetMapper(names.GonicMapper{})
cfg.Db.SetQuotePolicy(dialects.QuotePolicyReserved) cfg.Db.SetQuotePolicy(dialects.QuotePolicyReserved)
cfg.Db.ShowSQL(cfg.Switchs.Debug) cfg.Db.ShowSQL(cfg.Options.Debug)
//cfg.Db.SetDefaultCacher(cacher) //cfg.Db.SetDefaultCacher(cacher)