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

20230718234602_add_patch_id_to_merge_request_diffs.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f67ffc60513891af442f2761631fa88b501daa06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

class AddPatchIdToMergeRequestDiffs < Gitlab::Database::Migration[2.1]
  enable_lock_retries!

  def up
    add_column :merge_request_diffs, :patch_id_sha, :binary
  end

  def down
    remove_column :merge_request_diffs, :patch_id_sha
  end
end