Scaffolding created without foreign keys