projects
/
arvados.git
/ blob
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge branch 'master' into 1969-persistent-switch
[arvados.git]
/
services
/
api
/
db
/
migrate
/
20130528134100_update_nodes_index.rb
1
class UpdateNodesIndex < ActiveRecord::Migration
2
def up
3
remove_index :nodes, :hostname
4
add_index :nodes, :hostname
5
end
6
def down
7
remove_index :nodes, :hostname
8
add_index :nodes, :hostname, :unique => true
9
end
10
end