Merge branch '15286-fixes'
[arvados.git] / services / api / db / migrate / 20180915155335_set_current_version_uuid_on_collections.rb
index 12a08e07d29abf91be5fb8d15a297ac1d5b49559..4190f9ba8a4a5851e3249dd8ed8ebaf9b1683104 100644 (file)
@@ -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")