Skip to content

Commit

Permalink
Fix platform-contacts migration stopping after first platform
Browse files Browse the repository at this point in the history
  • Loading branch information
webstradev committed Nov 26, 2022
1 parent d9818c9 commit 6e631f0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion migrations/platforms-contacts.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ func MigratePlatformsToContacts(db *sqlx.DB, data *importer.LoadedData) error {
}

_, err = db.Exec(query, args...)
return err
if err != nil {
return err
}
}
return nil
}

0 comments on commit 6e631f0

Please sign in to comment.