projects
/
arvados.git
/ blob
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
13561: Add initial collection version information to the database
[arvados.git]
/
services
/
api
/
db
/
migrate
/
20180915155335_set_current_version_uuid_on_collections.rb
1
class SetCurrentVersionUuidOnCollections < ActiveRecord::Migration
2
def up
3
# Set the current version uuid as itself
4
Collection.where(current_version_uuid: nil).update_all("current_version_uuid=uuid")
5
end
6
7
def down
8
end
9
end