blob: e8129b5020bcbf622e1be0479910956b095a9da0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# frozen_string_literal: true
class RenameIndexIContainerProtectionUniqueProjectIdContainerPathPattern < Gitlab::Database::Migration[2.2]
milestone '16.7'
disable_ddl_transaction!
def up
rename_index :container_registry_protection_rules, :idx_copy_d01a85dee8,
:i_container_protection_unique_project_repository_path_pattern
end
def down
rename_index :container_registry_protection_rules, :i_container_protection_unique_project_repository_path_pattern,
:idx_copy_d01a85dee8
end
end
|