diff --git a/migrate/migrate.go b/migrate/migrate.go index 21c90e709..dc4cd1b53 100644 --- a/migrate/migrate.go +++ b/migrate/migrate.go @@ -88,10 +88,7 @@ func (m *Migrate) Migrate() error { } if m.initSchema != nil && m.isFirstRun() { - if err := m.runInitSchema(); err != nil { - return err - } - return nil + return m.runInitSchema() } for _, migration := range m.migrations {