Hi, just a wild guess: in line 19 you use setRelation to map the "id" from the "people" table to the "city" table. But when you call createFakeData() you populate the "people" table first. Maybe that causes problems, because the "city" table is still emtpy, and the mapping cannot take place?
Does it work if you first INSERT INTO the "city" table and then into the "people" table?

Ginsengelf