Fixed broken AUTO_INCREMENT values in database schema