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

20180424160449_add_pipeline_iid_to_ci_pipelines.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 550b5a2c149f3de5c7bd3fc2735e8bd52b89b89c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
class AddPipelineIidToCiPipelines < ActiveRecord::Migration[4.2]
  include Gitlab::Database::MigrationHelpers

  DOWNTIME = false

  def up
    add_column :ci_pipelines, :iid, :integer
  end

  def down
    remove_column :ci_pipelines, :iid, :integer
  end
end