summaryrefslogtreecommitdiff
path: root/db/migrate/20200312125121_add_index_on_active_and_template_and_type_and_id_to_services.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20200312125121_add_index_on_active_and_template_and_type_and_id_to_services.rb')
-rw-r--r--db/migrate/20200312125121_add_index_on_active_and_template_and_type_and_id_to_services.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20200312125121_add_index_on_active_and_template_and_type_and_id_to_services.rb b/db/migrate/20200312125121_add_index_on_active_and_template_and_type_and_id_to_services.rb
index 3a2390bb6a1..76e5860c2f3 100644
--- a/db/migrate/20200312125121_add_index_on_active_and_template_and_type_and_id_to_services.rb
+++ b/db/migrate/20200312125121_add_index_on_active_and_template_and_type_and_id_to_services.rb
@@ -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