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

20171222115326_add_confidential_note_events_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: 788a842a3ad137b4aa95e108e3191db86a767b97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
class AddConfidentialNoteEventsToWebHooks < ActiveRecord::Migration[4.2]
  include Gitlab::Database::MigrationHelpers

  DOWNTIME = false

  disable_ddl_transaction!

  def up
    add_column :web_hooks, :confidential_note_events, :boolean
  end

  def down
    remove_column :web_hooks, :confidential_note_events
  end
end