-- Widen key_prefix from VARCHAR(10) to VARCHAR(12) to fit "12345678..." (8 chars + "...")
ALTER TABLE user_api_keys ALTER COLUMN key_prefix TYPE VARCHAR(12);
