X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/063eb858429a7472c888261d0512fd960e92b7ae..cd3966ee048de85447418f00869eec59b38fd7b2:/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 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")