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
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