Fixed MySQL schema