BigW Consortium Gitlab

20150516060434_add_note_events_to_web_hooks.rb 247 Bytes
Newer Older
1
# rubocop:disable all
2 3 4 5 6 7 8 9 10
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