summaryrefslogtreecommitdiff
path: root/db/migrate/20150516060434_add_note_events_to_web_hooks.rb
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