17152: Adds migration to fix collection versions' modified_at timestamps.
[arvados.git] / services / api / db / migrate / 20181005192222_add_container_runtime_token.rb
index 007cbd00ee9179232d821d5913ee0000e2b3a975..630b9f24ee852574e314eb1c6397b2fec2a09764 100644 (file)
@@ -1,7 +1,11 @@
-class AddContainerRuntimeToken < ActiveRecord::Migration
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
+class AddContainerRuntimeToken < ActiveRecord::Migration[4.2]
   def change
     add_column :container_requests, :runtime_token, :text, :null => true
-    add_column :containers, :runtime_user_uuid, :text
-    add_column :containers, :runtime_auth_scopes, :jsonb
+    add_column :containers, :runtime_user_uuid, :text, :null => true
+    add_column :containers, :runtime_auth_scopes, :jsonb, :null => true
   end
 end