1 # Copyright (C) The Arvados Authors. All rights reserved.
3 # SPDX-License-Identifier: AGPL-3.0
5 class AddFrozenByUuidToGroupSearchIndex < ActiveRecord::Migration[5.0]
6 disable_ddl_transaction!
9 remove_index :groups, :name => 'groups_search_index'
10 add_index :groups, ["uuid", "owner_uuid", "modified_by_client_uuid", "modified_by_user_uuid", "name", "group_class", "frozen_by_uuid"], name: 'groups_search_index', algorithm: :concurrently
14 remove_index :groups, :name => 'groups_search_index'
15 add_index :groups, ["uuid", "owner_uuid", "modified_by_client_uuid", "modified_by_user_uuid", "name", "group_class"], name: 'groups_search_index', algorithm: :concurrently