diff --git a/migrate/migrations.go b/migrate/migrations.go index 289735270..1a7ea5668 100644 --- a/migrate/migrations.go +++ b/migrate/migrations.go @@ -96,10 +96,6 @@ func (m *Migrations) Discover(fsys fs.FS) error { } migration := m.getOrCreateMigration(name) - if err != nil { - return err - } - migration.Comment = comment migrationFunc := NewSQLMigrationFunc(fsys, path)