debian-mirror-gitlab/db/migrate/20150516060434_add_note_events_to_web_hooks.rb
2016-06-16 23:09:34 +05:30

11 lines
247 B
Ruby

# 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