Chore: add/update sqlstore-related helper functions (#77408)
* add/update sqlstore-related helper functions * add documentation & tests for InsertQuery and UpdateQuery, make generated SQL deterministic by sorting columns * remove old log line
This commit is contained in:
@@ -59,7 +59,7 @@ func NewScopedMigrator(engine *xorm.Engine, cfg *setting.Cfg, scope string) *Mig
|
||||
mg.Logger = log.New("migrator")
|
||||
} else {
|
||||
mg.tableName = scope + "_migration_log"
|
||||
mg.Logger = log.New(scope + " migrator")
|
||||
mg.Logger = log.New(scope + "-migrator")
|
||||
}
|
||||
return mg
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user