Defer foreign key constraints to avoid ordering issues
Merge pull request #6 from divarvel/deferred-constraints

Defer foreign key constraints to avoid ordering issues