debian-mirror-gitlab/db/migrate/20190830075508_add_external_pull_request_id_to_ci_pipelines.rb
2019-12-04 20:38:33 +05:30

16 lines
333 B
Ruby

# 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