2018-11-13 07:27:31 +00:00
|
|
|
class AddPipelineIidToCiPipelines < ActiveRecord::Migration[4.2]
|
2018-04-24 08:08:43 +00:00
|
|
|
include Gitlab::Database::MigrationHelpers
|
|
|
|
|
|
|
|
DOWNTIME = false
|
|
|
|
|
|
|
|
def up
|
2018-04-25 13:00:11 +00:00
|
|
|
add_column :ci_pipelines, :iid, :integer
|
2018-04-24 08:08:43 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
def down
|
2018-04-25 13:00:11 +00:00
|
|
|
remove_column :ci_pipelines, :iid, :integer
|
2018-04-24 08:08:43 +00:00
|
|
|
end
|
|
|
|
end
|