1 # Copyright (C) The Arvados Authors. All rights reserved.
3 # SPDX-License-Identifier: AGPL-3.0
5 class AddNameUniqueIndexToRepositories < ActiveRecord::Migration[4.2]
7 remove_index :repositories, :name
8 add_index :repositories, :name, :unique => true
12 remove_index :repositories, :name
13 add_index :repositories, :name