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

3 lines
122 B
SQL

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