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

20150516060434_add_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: bf72e5e2e3adc3c5d5f6f4649569001a02b8c07d (plain)
1
2
3
4
5
6
7
8
9
10
# rubocop:disable all
class AddNoteEventsToWebHooks < ActiveRecord::Migration
  def up
    add_column :web_hooks, :note_events, :boolean, default: false, null: false
  end

  def down
    remove_column :web_hooks, :note_events, :boolean
  end
end