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

20190830075508_add_external_pull_request_id_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: 5abf56742b1e6206079790bb70024cd6d114bd7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

class AddExternalPullRequestIdToCiPipelines < ActiveRecord::Migration[5.2]
  include Gitlab::Database::MigrationHelpers

  DOWNTIME = false

  def up
    add_column :ci_pipelines, :external_pull_request_id, :bigint
  end

  def down
    remove_column :ci_pipelines, :external_pull_request_id
  end
end