gitlab-org--gitlab-foss/db/migrate/20150219004514_add_events_to_services.rb

10 lines
386 B
Ruby
Raw Normal View History

# rubocop:disable all
class AddEventsToServices < ActiveRecord::Migration[4.2]
def change
add_column :services, :push_events, :boolean, :default => true
add_column :services, :issues_events, :boolean, :default => true
add_column :services, :merge_requests_events, :boolean, :default => true
add_column :services, :tag_push_events, :boolean, :default => true
end
end