14873: Marks past migrations with version 4.2
[arvados.git] / services / api / db / migrate / 20181213183234_add_expression_index_to_links.rb
index e8776a651c8b89393b9c017a56384e36c23a0d29..94aab8bdf5a088a6b78c47a00b68d647fd7aa0a4 100644 (file)
@@ -2,7 +2,7 @@
 #
 # SPDX-License-Identifier: AGPL-3.0
 
-class AddExpressionIndexToLinks < ActiveRecord::Migration
+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))'