Remove Gradle from source repo. Update docs & build to reflect change.
[arvados.git] / services / api / db / migrate / 20180915155335_set_current_version_uuid_on_collections.rb
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: AGPL-3.0
4
5 class SetCurrentVersionUuidOnCollections < ActiveRecord::Migration
6   def up
7     # Set the current version uuid as itself
8     Collection.where(current_version_uuid: nil).update_all("current_version_uuid=uuid")
9   end
10
11   def down
12   end
13 end