-- Change the (unique) index in the users table from (username,year) 
-- to (accounts_id,conferences_id)
ALTER TABLE `users` DROP INDEX `username`;
ALTER TABLE `users` ADD UNIQUE (`accounts_id` , `conferences_id`);