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