diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-11-15 03:08:29 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-11-15 03:08:29 +0300 |
commit | 38b948a54e00841b51c446beb0adf079af60c963 (patch) | |
tree | 2e9dfe54e2d0ec444223f773dc283b1c639baae9 /app/models/incident_management | |
parent | 7f35b02e86cd3d2e8b4a81c5c3a8483ff6973c5a (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/incident_management')
-rw-r--r-- | app/models/incident_management/timeline_event_tag.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/incident_management/timeline_event_tag.rb b/app/models/incident_management/timeline_event_tag.rb index 2064ccc8c5e..75d23f05e4e 100644 --- a/app/models/incident_management/timeline_event_tag.rb +++ b/app/models/incident_management/timeline_event_tag.rb @@ -17,7 +17,7 @@ module IncidentManagement through: :timeline_event_tag_links validates :name, presence: true, format: { with: /\A[^,]+\z/ } - validates :name, uniqueness: { scope: :project_id } + validates :name, uniqueness: { scope: :project_id, case_sensitive: false } validates :name, length: { maximum: 255 } scope :by_names, -> (tag_names) { where(name: tag_names) } |