summaryrefslogtreecommitdiff
path: root/db/migrate/20171222115326_add_confidential_note_events_to_web_hooks.rb
blob: 900a6386922cff15437c6f4861c256a0215a1d58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
class AddConfidentialNoteEventsToWebHooks < ActiveRecord::Migration
  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