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: 0097587b4f6dc0c057b668235d4bcd5a392bcdef (plain)
1
2
3
4
5
6
7
8
9
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