debian-mirror-gitlab/db/migrate/20151203162134_add_build_events_to_services.rb

7 lines
235 B
Ruby
Raw Normal View History

2015-12-23 02:04:40 +05:30
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