projects
/
arvados.git
/ blob
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
3147: PySDK tests use mock>=1.0 and easier mock side_effect.
[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