Merge branch '15286-fixes'
[arvados.git] / services / api / db / migrate / 20181213183234_add_expression_index_to_links.rb
index 2fdf830b2ad4b3acd22bf425f0b620e5cea68d89..94aab8bdf5a088a6b78c47a00b68d647fd7aa0a4 100644 (file)
@@ -1,4 +1,8 @@
-class AddExpressionIndexToLinks < ActiveRecord::Migration
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
+class AddExpressionIndexToLinks < ActiveRecord::Migration[4.2]
   def up
     ActiveRecord::Base.connection.execute 'CREATE INDEX index_links_on_substring_head_uuid on links (substring(head_uuid, 7, 5))'
     ActiveRecord::Base.connection.execute 'CREATE INDEX index_links_on_substring_tail_uuid on links (substring(tail_uuid, 7, 5))'