1
0
Fork 0
mirror of https://github.com/LemmyNet/lemmy.git synced 2024-12-16 21:16:30 +00:00
lemmy/server/migrations/2020-04-21-123957_remove_unique_user_constraints/up.sql

3 lines
122 B
MySQL
Raw 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));