X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/04b9d6e93ca8bd18dca697e56689820516c8c572..5acd68562b23c0293140a9de6443855b6612266b:/services/api/db/migrate/20180824152014_add_md5_index_to_containers.rb diff --git a/services/api/db/migrate/20180824152014_add_md5_index_to_containers.rb b/services/api/db/migrate/20180824152014_add_md5_index_to_containers.rb index 82b2163517..e6e0597b7a 100644 --- a/services/api/db/migrate/20180824152014_add_md5_index_to_containers.rb +++ b/services/api/db/migrate/20180824152014_add_md5_index_to_containers.rb @@ -2,7 +2,7 @@ # # SPDX-License-Identifier: AGPL-3.0 -class AddMd5IndexToContainers < ActiveRecord::Migration +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