From 559fdf14486527af646dfab51f2c8b87af8e2eae Mon Sep 17 00:00:00 2001 From: Radhika Chippada Date: Thu, 23 Apr 2015 13:01:15 -0400 Subject: [PATCH] 5796: add down migration --- .../20150423145759_no_filenames_in_collection_search_index.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/services/api/db/migrate/20150423145759_no_filenames_in_collection_search_index.rb b/services/api/db/migrate/20150423145759_no_filenames_in_collection_search_index.rb index 7b52abd012..e8423c10f2 100644 --- a/services/api/db/migrate/20150423145759_no_filenames_in_collection_search_index.rb +++ b/services/api/db/migrate/20150423145759_no_filenames_in_collection_search_index.rb @@ -5,5 +5,7 @@ class NoFilenamesInCollectionSearchIndex < ActiveRecord::Migration end def down + remove_index :collections, :name => 'collections_search_index' + add_index :collections, ["owner_uuid", "modified_by_client_uuid", "modified_by_user_uuid", "portable_data_hash", "uuid", "name", "file_names"], name: 'collections_search_index' end end -- 2.39.5