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

20240109031624_add_unique_index_to_system_note_metadata_on_id_convert_to_bigint.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f03e569b53bf1adf2a57eea43983a8129cf6fd1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# frozen_string_literal: true

class AddUniqueIndexToSystemNoteMetadataOnIdConvertToBigint < Gitlab::Database::Migration[2.2]
  disable_ddl_transaction!

  milestone '16.9'

  def up
    # no-op
    # The index has been created asynchronously for GitLab.com
    # The index is going to be used to back a primary key and a foreign key.
    # Dropping the index would require dropping any foreign key associated with the index
    # thus the index and the foreign key must be added in the same migration.
  end

  def down
    # no-op
  end
end