Drop lowercase index on display names

This commit is contained in:
Tom Hughes 2024-01-17 18:57:12 +00:00
parent 9387df9141
commit 9db635a992
3 changed files with 6 additions and 8 deletions

View file

@ -0,0 +1,5 @@
class DropLowercaseUserIndex < ActiveRecord::Migration[7.1]
def change
remove_index :users, "LOWER(display_name)", :name => "users_display_name_lower_idx"
end
end