2017-05-26 12:46:45 +00:00
|
|
|
class CreatePipelineStages < ActiveRecord::Migration
|
2017-05-25 13:35:09 +00:00
|
|
|
include Gitlab::Database::MigrationHelpers
|
|
|
|
|
|
|
|
DOWNTIME = false
|
|
|
|
|
|
|
|
def change
|
|
|
|
create_table :ci_stages do |t|
|
|
|
|
t.integer :project_id
|
|
|
|
t.integer :pipeline_id
|
2017-05-25 20:43:16 +00:00
|
|
|
t.timestamps null: true
|
2017-06-06 11:30:29 +00:00
|
|
|
t.string :name
|
2017-05-25 13:35:09 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|