debian-mirror-gitlab/db/migrate/20150219004514_add_events_to_services.rb
2019-02-15 15:39:39 +05:30

9 lines
386 B
Ruby

# 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