changed table types to not null and generated new model - also changed the name