Merge branch '15296-cwl-cancel-procs' closes #15296
[arvados.git] / services / api / db / migrate / 20140714184006_empty_collection.rb
index deb6bf0374ca76d73427c1da3e03898eaf667e5d..33921dcdeaeaecd8c9e874152cbd2f22788ac525 100644 (file)
@@ -1,10 +1,12 @@
-class EmptyCollection < ActiveRecord::Migration
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
+class EmptyCollection < ActiveRecord::Migration[4.2]
   include CurrentApiClient
 
   def up
-    act_as_system_user do
-      empty_collection
-    end
+    empty_collection
   end
 
   def down