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

20141103135037_add_parallel_to_build.rb « migrate « ci « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2a3f64facf1374abeb2cbe5c4f553354a72791a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
class AddParallelToBuild < ActiveRecord::Migration
  def change
    create_table :jobs do |t|
      t.integer :project_id, null: false
      t.text :commands
      t.boolean :active, null: false, default: true
      t.timestamps
    end

    add_index :jobs, :project_id
  end
end