Create foreign keys correctly.