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

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

class RemovePagesDeploymentsProjectIdPathPrefixUniqueIndex < Gitlab::Database::Migration[2.1]
  disable_ddl_transaction!

  def up
    remove_concurrent_index_by_name :pages_deployments,
      'index_pages_deployments_unique_path_prefix_by_project'
  end

  def down
    # no op
  end
end