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 ...@@ -13,6 +13,6 @@ class AddIndexOnActiveAndTemplateAndTypeAndIdToServices < ActiveRecord::Migratio
end end
def down def down
remove_concurrent_index :services, INDEX_NAME remove_concurrent_index_by_name :services, INDEX_NAME
end end
end end
...@@ -13,6 +13,6 @@ class AddIndexOnUserIdTypeSourceTypeLdapAndCreatedAtToMembers < ActiveRecord::Mi ...@@ -13,6 +13,6 @@ class AddIndexOnUserIdTypeSourceTypeLdapAndCreatedAtToMembers < ActiveRecord::Mi
end end
def down def down
remove_concurrent_index :members, INDEX_NAME remove_concurrent_index_by_name :members, INDEX_NAME
end end
end end
...@@ -14,6 +14,6 @@ class AddIndexOnUserAndCreatedAtToCiBuilds < ActiveRecord::Migration[6.0] ...@@ -14,6 +14,6 @@ class AddIndexOnUserAndCreatedAtToCiBuilds < ActiveRecord::Migration[6.0]
end end
def down def down
remove_concurrent_index :ci_builds, INDEX_NAME remove_concurrent_index_by_name :ci_builds, INDEX_NAME
end end
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