Compare commits
No commits in common. "2aee702fc6ff9f3e791268fd87f4e4133594a359" and "2937b93dff429de9f5858648458ad39501fa4e99" have entirely different histories.
2aee702fc6
...
2937b93dff
|
@ -28,13 +28,7 @@ func (config *Database) setupMigrator(testdata bool) (*gormigrate.Gormigrate, er
|
||||||
return nil, ErrNothingToMigrate
|
return nil, ErrNothingToMigrate
|
||||||
}
|
}
|
||||||
|
|
||||||
return gormigrate.New(config.DB, &gormigrate.Options{
|
return gormigrate.New(config.DB, gormigrate.DefaultOptions, migrations), nil
|
||||||
TableName: "migrations",
|
|
||||||
IDColumnName: "id",
|
|
||||||
IDColumnSize: 255,
|
|
||||||
UseTransaction: true,
|
|
||||||
ValidateUnknownMigrations: false,
|
|
||||||
}, migrations), nil
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue