Correct foreign key reference
Add foreign key checking as default for all DB connections