debian-mirror-gitlab/db/migrate/20151203162134_add_build_events_to_services.rb
2019-02-15 15:39:39 +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