Solution for the challenge, made all the fields within the generate model, then updated the migrations to add the foreign key.