projects
/
arvados.git
/ blob
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Remove +K@foo parts from collection uuids in jobs' script_parameters
[arvados.git]
/
services
/
api
/
db
/
migrate
/
20130113214204_add_index_to_collections_and_metadata.rb
1
class AddIndexToCollectionsAndMetadata < ActiveRecord::Migration
2
def up
3
add_index :collections, :uuid, :unique => true
4
add_index :metadata, :uuid, :unique => true
5
end
6
def down
7
remove_index :metadata, :uuid
8
remove_index :collections, :uuid
9
end
10
end