Added enforcing foreign key referencing thanks to percyperez.
Merge pull request #60 from durango/enforce-ref

Added enforcing foreign key referencing thanks to percyperez.