Skip to content

Draft: Add unique index to catalog resource components

Rajendra Kadam requested to merge 450737-catalog-resource-component-unique into master

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

  1. TBD

Related to #450737

Edited by Rajendra Kadam

Merge request reports