Skip to content

repo-updater: Enforce unique constraint on external_service_repos

Warren Gifford requested to merge external_service_repos_duplication into main

Created by: ryanslade

This change introduces a unique constraint on the external_service_repos table on (repo_id, external_service_id).

Our insert function was updated to handle this using an ON CONFLICT clause.

Merge request reports

Loading