BigW Consortium Gitlab

20151210125928_add_ci_to_project.rb 576 Bytes
Newer Older
1
# rubocop:disable all
2
class AddCiToProject < ActiveRecord::Migration
3
  def change
Kamil Trzcinski committed
4
    add_column :projects, :ci_id, :integer
5 6
    add_column :projects, :builds_enabled, :boolean, default: true, null: false
    add_column :projects, :shared_runners_enabled, :boolean, default: true, null: false
Kamil Trzcinski committed
7
    add_column :projects, :runners_token, :string
8 9 10 11 12
    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