Add 'apps/arv-web/' from commit 'f9732ad8460d013c2f28363655d0d1b91894dca5'
[arvados.git] / services / api / db / migrate / 20130612042554_add_name_unique_index_to_repositories.rb
1 class AddNameUniqueIndexToRepositories < ActiveRecord::Migration
2   def up
3     remove_index :repositories, :name
4     add_index :repositories, :name, :unique => true
5   end
6
7   def down
8     remove_index :repositories, :name
9     add_index :repositories, :name
10   end
11 end