x
Build docker and publish / build (20.15.1) (push) Failing after 4m44s

This commit is contained in:
2026-04-26 21:12:22 -07:00
parent 5b49aa8242
commit ab38cd4943
19 changed files with 2233 additions and 102 deletions
+3 -1
View File
@@ -46,7 +46,9 @@ func ConnectMysql(m Mysql) (*gorm.DB, error) {
DSN: m.Dsn(),
}
db, err := gorm.Open(mysql.New(mysqlCfg), &gorm.Config{
Logger: new(logger.GormLogger),
Logger: &logger.GormLogger{
SlowThreshold: m.GetSlowThreshold(),
},
NamingStrategy: schema.NamingStrategy{
SingularTable: true,
},