From a63c26327c01ff188451365efd72d69d231653c0 Mon Sep 17 00:00:00 2001 From: Radhika Chippada Date: Mon, 8 Dec 2014 15:35:53 -0500 Subject: [PATCH] 4523: migration script update --- services/api/db/migrate/20141208185217_search_index.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/api/db/migrate/20141208185217_search_index.rb b/services/api/db/migrate/20141208185217_search_index.rb index 79dea3928c..d0f0260789 100644 --- a/services/api/db/migrate/20141208185217_search_index.rb +++ b/services/api/db/migrate/20141208185217_search_index.rb @@ -22,7 +22,7 @@ class SearchIndex < ActiveRecord::Migration end def down - tables_with_searchable_columns.each do |table, indices| + tables_with_searchable_columns.each do |table| remove_index(table.to_sym, name: "#{table}_search_index") end end -- 2.30.2