Commit e86adab5 authored by Alper Akgun's avatar Alper Akgun

Fix remove_concurrent_index down methods

parent f1dd55e8
...@@ -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