Merge branch '8784-dir-listings'
[arvados.git] / services / api / db / migrate / 20140918141529_change_user_owner_uuid_not_null.rb
index 0712ecd0bdf20ad4c3c452796dccab73be013c49..c111708e9b929e6882015ce428a318a1d2948074 100644 (file)
@@ -1,4 +1,10 @@
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
 class ChangeUserOwnerUuidNotNull < ActiveRecord::Migration
+  include CurrentApiClient
+
   def up
     User.update_all({owner_uuid: system_user_uuid}, 'owner_uuid is null')
     change_column :users, :owner_uuid, :string, :null => false