gitlab-org--gitlab-foss/db/migrate/20151203162135_add_ci_to_pr...

11 lines
499 B
Ruby
Raw Normal View History

2015-12-04 11:55:23 +00:00
class AddCiToProject < ActiveRecord::Migration
def up
add_column :projects, :builds_enabled, :boolean, default: true, null: false
add_column :projects, :shared_runners_enabled, :boolean, default: true, null: false
add_column :projects, :token, :string
add_column :projects, :build_coverage_regex, :string
add_column :projects, :build_allow_git_fetch, :boolean, default: true, null: false
add_column :projects, :build_timeout, :integer, default: 3600, null: false
end
end