blob: ddf26240b8b2fc1cc6b110802da372bcfb24c64f (
plain)
1
2
3
4
5
6
7
8
9
10
|
# rubocop:disable all
class AddNoteEventsToWebHooks < ActiveRecord::Migration[4.2]
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
|