update
parent
3dabbb612f
commit
e15d29b758
|
@ -100,7 +100,7 @@ func New(t DBTYPE) *Store {
|
|||
// Connect to db and store db connection to var DB
|
||||
func (s *Store) Connect() (db *gorm.DB, err error) {
|
||||
s.config = &gorm.Config{
|
||||
Logger: logger.Default,
|
||||
Logger: logger.Default.LogMode(logger.Info),
|
||||
SkipDefaultTransaction: true,
|
||||
}
|
||||
if s.Prod {
|
||||
|
|
Loading…
Reference in New Issue