Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20230222161226_add_custom_jira_regex_to_jira_tracker_data.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c9668c311a311b7f8e6f61adb71193e039337ed8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true

class AddCustomJiraRegexToJiraTrackerData < Gitlab::Database::Migration[2.1]
  # rubocop:disable Migration/AddLimitToTextColumns
  # limit is added in 20230222161954_add_text_limit_to_custom_jira_regex_fields.rb
  enable_lock_retries!
  def change
    add_column :jira_tracker_data, :jira_issue_prefix, :text
    add_column :jira_tracker_data, :jira_issue_regex, :text
  end
  # rubocop:enable Migration/AddLimitToTextColumns
end