Merge branch '15522-arvmount-ops-encoding'
[arvados.git] / services / api / db / migrate / 20180917205609_recompute_file_names_index.rb
index 3dbc0ec3df7f5f14657ef81187ad05c954c7dad9..b321422143b9e7df21ed6c7cfb55a3193ba6ca80 100644 (file)
@@ -1,4 +1,8 @@
-class RecomputeFileNamesIndex < ActiveRecord::Migration
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
+class RecomputeFileNamesIndex < ActiveRecord::Migration[4.2]
   def do_batch(pdhs:)
     ActiveRecord::Base.connection.exec_query('BEGIN')
     Collection.select(:portable_data_hash, :manifest_text).where(portable_data_hash: pdhs).distinct(:portable_data_hash).each do |c|