Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20151210125928_add_ci_to_project.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8c167f64a2b59444c94a5b8a1f914a252e44aec1 (plain)
1
2
3
4
5
6
7
8
9
10
11
class AddCiToProject < ActiveRecord::Migration
  def change
    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