Commit 86146204 authored by Patrick Bair's avatar Patrick Bair

Merge branch '340298-fix-migration-to-make-ruby-3-compatible' into 'master'

Fix old migration to make it Ruby 3-compatible

See merge request gitlab-org/gitlab!83505
parents aef3a688 bf483459
......@@ -13,7 +13,7 @@ class CreateFileRegistry < ActiveRecord::Migration[4.2]
end
add_index :file_registry, :file_type
add_index :file_registry, [:file_type, :file_id], { unique: true }
add_index :file_registry, [:file_type, :file_id], unique: true
end
# rubocop:enable Migration/PreventStrings
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment