summaryrefslogtreecommitdiff
path: root/db/migrate/20190830075508_add_external_pull_request_id_to_ci_pipelines.rb
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