BigW Consortium Gitlab

20131202192556_add_event_fields_for_web_hook.rb 350 Bytes
Newer Older
1
# rubocop:disable all
2 3 4 5 6 7 8
class AddEventFieldsForWebHook < ActiveRecord::Migration
  def change
    add_column :web_hooks, :push_events, :boolean, default: true, null: false
    add_column :web_hooks, :issues_events, :boolean, default: false, null: false
    add_column :web_hooks, :merge_requests_events, :boolean, default: false, null: false
  end
end