Commit dc178732 authored by Adam Hegyi's avatar Adam Hegyi

Merge branch 'aa-fix-remove-concurrent-index-names' into 'master'

Fix remove_concurrent_index down methods

See merge request gitlab-org/gitlab!28029
parents 038c2297 e86adab5
......@@ -13,6 +13,6 @@ class AddIndexOnActiveAndTemplateAndTypeAndIdToServices < ActiveRecord::Migratio
end
def down
remove_concurrent_index :services, INDEX_NAME
remove_concurrent_index_by_name :services, INDEX_NAME
end
end
......@@ -13,6 +13,6 @@ class AddIndexOnUserIdTypeSourceTypeLdapAndCreatedAtToMembers < ActiveRecord::Mi
end
def down
remove_concurrent_index :members, INDEX_NAME
remove_concurrent_index_by_name :members, INDEX_NAME
end
end
......@@ -14,6 +14,6 @@ class AddIndexOnUserAndCreatedAtToCiBuilds < ActiveRecord::Migration[6.0]
end
def down
remove_concurrent_index :ci_builds, INDEX_NAME
remove_concurrent_index_by_name :ci_builds, INDEX_NAME
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment