X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/682dd5b6cc23a455766a7651e3e841257660b31c..f69605f9427aa401b0f83c1e131e3c455eae4e38:/services/api/db/migrate/20150423145759_no_filenames_in_collection_search_index.rb 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 e8423c10f2..1930f1332d 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 @@ -1,4 +1,8 @@ -class NoFilenamesInCollectionSearchIndex < ActiveRecord::Migration +# Copyright (C) The Arvados Authors. All rights reserved. +# +# SPDX-License-Identifier: AGPL-3.0 + +class NoFilenamesInCollectionSearchIndex < ActiveRecord::Migration[4.2] def up 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"], name: 'collections_search_index'