-- Run this once in phpMyAdmin (select the database, then SQL tab).
-- Speeds up the new "is this name already taken by someone else" check in
-- buy_receive_new_name() — without this, that query has to scan the whole
-- table (the existing unique key covers (user_id, name), not name alone).
ALTER TABLE service_names
    ADD INDEX idx_name (name);
