debian-mirror-gitlab/db/migrate/20151203162134_add_build_events_to_services.rb
2015-12-23 02:04:40 +05:30

6 lines
235 B
Ruby

class AddBuildEventsToServices < ActiveRecord::Migration
def up
add_column :services, :build_events, :boolean, default: false, null: false
add_column :web_hooks, :build_events, :boolean, default: false, null: false
end
end