2016-06-16 23:09:34 +05:30
|
|
|
# rubocop:disable all
|
2015-12-23 02:04:40 +05:30
|
|
|
class AddCiToProject < ActiveRecord::Migration
|
2016-01-14 18:37:52 +05:30
|
|
|
def change
|
2015-12-23 02:04:40 +05:30
|
|
|
add_column :projects, :ci_id, :integer
|
|
|
|
add_column :projects, :builds_enabled, :boolean, default: true, null: false
|
|
|
|
add_column :projects, :shared_runners_enabled, :boolean, default: true, null: false
|
|
|
|
add_column :projects, :runners_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
|