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

5 lines
128 B
MySQL
Raw Normal View History

-- The username index
drop index idx_user_name_lower_actor_id;
create unique index idx_user_name_lower on user_ (lower(name));