Draft: Add unique index to catalog resource components
What does this MR do and why?
Update the model with scoped uniqueness validation for name
scoped to version_id
and resource_type
.
Add model specs.
Update the error message in create for this validation.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
NA
How to set up and validate locally
- TBD
Related to #450737
Edited by Rajendra Kadam