X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/e37b9b6599f427520100aa262bcd65d6596bdbfd..a7631a1ccb6e2a6925d00a06562e171c4ce4ea2f:/services/api/db/migrate/20180915155335_set_current_version_uuid_on_collections.rb diff --git a/services/api/db/migrate/20180915155335_set_current_version_uuid_on_collections.rb b/services/api/db/migrate/20180915155335_set_current_version_uuid_on_collections.rb index b205eae899..4190f9ba8a 100644 --- a/services/api/db/migrate/20180915155335_set_current_version_uuid_on_collections.rb +++ b/services/api/db/migrate/20180915155335_set_current_version_uuid_on_collections.rb @@ -1,4 +1,8 @@ -class SetCurrentVersionUuidOnCollections < ActiveRecord::Migration +# Copyright (C) The Arvados Authors. All rights reserved. +# +# SPDX-License-Identifier: AGPL-3.0 + +class SetCurrentVersionUuidOnCollections < ActiveRecord::Migration[4.2] def up # Set the current version uuid as itself Collection.where(current_version_uuid: nil).update_all("current_version_uuid=uuid")