lemmy/server/migrations/2020-04-21-123957_remove_unique_user_constraints/up.sql
2020-04-21 09:21:29 -04:00

3 lines
122 B
SQL
Vendored

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