Merge branch 'master' into 14873-api-rails5-upgrade
[arvados.git] / services / api / db / migrate / 20180824152014_add_md5_index_to_containers.rb
index a58932e3510989b3f6557a77c0fa12cba1d2298e..e6e0597b7a64e5b8c780309ac7f093cd4919bda0 100644 (file)
@@ -1,4 +1,8 @@
-class AddMd5IndexToContainers < ActiveRecord::Migration
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
+class AddMd5IndexToContainers < ActiveRecord::Migration[4.2]
   def up
     ActiveRecord::Base.connection.execute 'CREATE INDEX index_containers_on_reuse_columns on containers (md5(command), cwd, md5(environment), output_path, container_image, md5(mounts), secret_mounts_md5, md5(runtime_constraints))'
   end