lemmy/server/migrations/2020-04-21-123957_remove_unique_user_constraints/up.sql

3 lines
122 B
MySQL
Raw Permalink Normal View History

drop index idx_user_name_lower;
create unique index idx_user_name_lower_actor_id on user_ (lower(name), lower(actor_id));