Fix: Running AutoMigrate
concurrently on the same model fails with various race conditions
#1221
Annotations
2 errors
golangci-lint:
migrator/migrator.go#L113
[golangci] reported by reviewdog 🐶
calculated cyclomatic complexity for function migrateTable is 27, max is 10 (cyclop)
Raw Output:
migrator/migrator.go:113:1: calculated cyclomatic complexity for function migrateTable is 27, max is 10 (cyclop)
func (m Migrator) migrateTable(queryTx, execTx *gorm.DB, value interface{}) (err error) {
^
|
golangci-lint
reviewdog exited with status code: 1
|
The logs for this run have expired and are no longer available.
Loading