14873: Adjusts latest API Server changes to be rails5 worthy.
[arvados.git] / services / api / db / migrate / 20140423133559_new_scope_format.rb
index 5b69e95c69093da4196572fe996ead438953974f..6c1dc74529f4f94d231b1ff2a1319b1ef901c491 100644 (file)
@@ -1,9 +1,13 @@
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
 # At the time we introduced scopes everywhere, VirtualMachinesController
 # recognized scopes that gave the URL for a VM to grant access to that VM's
 # login list.  This migration converts those VM-specific scopes to the new
 # general format, and back.
 
-class NewScopeFormat < ActiveRecord::Migration
+class NewScopeFormat < ActiveRecord::Migration[4.2]
   include CurrentApiClient
 
   VM_PATH_REGEX =