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

4 lines
128 B
SQL
Vendored

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