Specified key was too long; max key length is 1000 bytes
/home/www/atherys.com/public_html/system/Db/Db.php::2181
ALTER TABLE `core_attachments_map` ADD KEY `map_lookup` (`location_key`(250),`id1`,`id2`)
I wanted to know how we can fix this in order to update to the lastest version