Skip to content

Update alias uniqueness for contributor aliases#288

Merged
cdolfi merged 2 commits intomainfrom
fix/alias_uniqueness
May 5, 2026
Merged

Update alias uniqueness for contributor aliases#288
cdolfi merged 2 commits intomainfrom
fix/alias_uniqueness

Conversation

@MoralCode
Copy link
Copy Markdown
Contributor

Description

This PR fixes #273 by introducing a database migration to update the Unique constraint for contributor alias emails to cover the contributor id as well.

Notes for Reviewers
This was tested on a local instance that had previously achieved full collection. The instance was started with a build of this version, and was given a new repository to process. After a restart due to another unrelated known bug, Facade collection ran and successfully added some new aliases to the database.

@cdolfi do you think any other testing is warranted here?

Signed commits

  • Yes, I signed my commits.

MoralCode added 2 commits May 4, 2026 14:25
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Copy link
Copy Markdown
Contributor

@cdolfi cdolfi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm! relatively straightforward fix and sufficient testing

@cdolfi cdolfi merged commit bc42aab into main May 5, 2026
16 checks passed
@MoralCode MoralCode deleted the fix/alias_uniqueness branch May 5, 2026 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: incorrect natural key declaration for alias_insert

2 participants