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

6 lines
129 B
SQL

-- The username index
DROP INDEX idx_user_name_lower_actor_id;
CREATE UNIQUE INDEX idx_user_name_lower ON user_ (lower(name));