add deferred foreign keys