10 lines
252 B
Ruby
10 lines
252 B
Ruby
# 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
|