X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/16f704326f44fd1e5e5e60b936c9b5895d6a6ff8..415910149bed2eef6ae818b7c059d413934df06e:/services/api/db/migrate/20180915155335_set_current_version_uuid_on_collections.rb?ds=sidebyside 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 12a08e07d2..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 @@ -2,7 +2,7 @@ # # SPDX-License-Identifier: AGPL-3.0 -class SetCurrentVersionUuidOnCollections < ActiveRecord::Migration +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")