phac-nml / irida-next

IRIDA Next
https://phac-nml.github.io/irida-next/
Apache License 2.0
8 stars 2 forks source link

Add missing unique Indexes #576

Closed deepsidhu85 closed 2 months ago

deepsidhu85 commented 2 months ago

What does this PR do and why?

Describe in detail what your merge request does and why.

This PR adds in missing multi field unique indexes. These indexes were previously added but weren't applied as the name attribute was missing.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other pull requests.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. In rails console run bin/rails db:migrate
  2. In the db/schema file verify that the members, namespace_group_links, and samples tables have the multi field unique indexes

PR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

github-actions[bot] commented 2 months ago

Simplecov Report

Covered Threshold
92.26% 90%