Validates only one service template per type
This enforces that there is only one service template per type. - Delete all the duplicated service template by type keeping the template with the lowest `id` because that is the service template used: https://gitlab.com/gitlab-org/gitlab/-/blob/v12.8.1-ee/app/controllers/admin/services_controller.rb#L37 - Add Rails validation - Add unique index having database validation
Showing
Please register or sign in to comment