1
0

chore(deps): update golangci-lint to 1.52.1

This commit is contained in:
kolaente
2023-03-24 19:17:33 +01:00
parent f6e6c5c8fc
commit 4d5ad8f50e
30 changed files with 62 additions and 65 deletions

View File

@ -109,10 +109,7 @@ func Rollback(migrationID string) {
// MigrateTo executes all migrations up to a certain point
func MigrateTo(migrationID string, x *xorm.Engine) error {
m := initMigration(x)
if err := m.MigrateTo(migrationID); err != nil {
return err
}
return nil
return m.MigrateTo(migrationID)
}
// Deletes a column from a table. All arguments are strings, to let them be standalone and not depending on any struct.