Skip to content

XNAT-8768 Added check and delete for duplicate elementname/ids combos#12

Merged
rherrick merged 1 commit into
developfrom
fixes/xnat-8768
Jul 1, 2026
Merged

XNAT-8768 Added check and delete for duplicate elementname/ids combos#12
rherrick merged 1 commit into
developfrom
fixes/xnat-8768

Conversation

@rherrick

Copy link
Copy Markdown
Contributor

Some existing instances of XNAT have duplicate combinations of elementname and ids. In those cases, creating the unique index on those two columns causes fails when upgrading XNAT. This fix checks for duplicates, logs that if it finds them, then deletes all but the latest of each duplicate.

@rherrick rherrick merged commit f5cb84c into develop Jul 1, 2026
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.

3 participants