debian-mirror-gitlab/db/migrate/20151203162134_add_build_events_to_services.rb
2018-12-23 12:14:25 +05:30

7 lines
266 B
Ruby

# rubocop:disable all
class AddBuildEventsToServices < ActiveRecord::Migration[4.2]
def change
add_column :services, :build_events, :boolean, default: false, null: false
add_column :web_hooks, :build_events, :boolean, default: false, null: false
end
end