After downloading GM's changes, updated the ahisv5.sql file to drop all references to 'ahis' and 'ahisv5' ... then it should create a new db named 'ahis' with GM's db structure. This way, none of the old code breaks because the db connections settings are already defined in the /application/config/<env>/database.php file