Commit bf483459 authored by Aleksei Lipniagov's avatar Aleksei Lipniagov

Fix the migration to make it Ruby 3-compatible

parent 7e21e61f
......@@ -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