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

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

class AddNameAndDescriptionToWebHooks < Gitlab::Database::Migration[2.2]
  milestone '16.9'

  # rubocop:disable Migration/AddLimitToTextColumns -- limit is added in
  # db/migrate/20240116162201_add_text_limit_to_web_hooks_attributes.rb
  def change
    add_column :web_hooks, :name, :text
    add_column :web_hooks, :description, :text
  end
  # rubocop:enable Migration/AddLimitToTextColumns
end