Compare commits

..

No commits in common. "2aee702fc6ff9f3e791268fd87f4e4133594a359" and "2937b93dff429de9f5858648458ad39501fa4e99" have entirely different histories.

3 changed files with 8 additions and 14 deletions

View File

@ -28,13 +28,7 @@ func (config *Database) setupMigrator(testdata bool) (*gormigrate.Gormigrate, er
return nil, ErrNothingToMigrate
}
return gormigrate.New(config.DB, &gormigrate.Options{
TableName: "migrations",
IDColumnName: "id",
IDColumnSize: 255,
UseTransaction: true,
ValidateUnknownMigrations: false,
}, migrations), nil
return gormigrate.New(config.DB, gormigrate.DefaultOptions, migrations), nil
}