1 # Copyright (C) The Arvados Authors. All rights reserved.
3 # SPDX-License-Identifier: AGPL-3.0
5 class FixCreatedAtIndexes < ActiveRecord::Migration[5.2]
7 %w{collections links logs groups users}
12 remove_index t.to_sym, :created_at
13 add_index t.to_sym, [:created_at, :uuid]
19 remove_index t.to_sym, [:created_at, :uuid]
20 add_index t.to_sym, :created_at