MySQL schema and model update