blob: 65cf00c93e5082dd5547ce7ca6d55b0bbb9768f9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# frozen_string_literal: true
class RenameContainerRegistryProtectionRulesContainerPathPattern < Gitlab::Database::Migration[2.2]
milestone '16.7'
disable_ddl_transaction!
def up
rename_column_concurrently :container_registry_protection_rules, :container_path_pattern, :repository_path_pattern
end
def down
undo_rename_column_concurrently :container_registry_protection_rules, :container_path_pattern,
:repository_path_pattern
end
end
|