Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ENG-11253: create partial unique index on template (#378)
## Description - Create partial unique index on template.name so that the unique constraint on name is enforced for not deleted templates. - Remove unnecessary query check when insert into template table to avoid potential concurrent issue. ## Why is this needed https://packet.atlassian.net/browse/ENG-11253 https://packet.atlassian.net/browse/ENG-10638 ## How Has This Been Tested? manually ## How are existing users impacted? What migration steps/scripts do we need? New database migration "202012091055-add-partial-unique-constraint-on-template" need to be applied. ## Checklist: I have: - [ ] updated the documentation and/or roadmap (if required) - [ ] added unit or e2e tests - [ ] provided instructions on how to upgrade
- Loading branch information