Updated unit-tests Database Foreign Key
Merge pull request #2478 from karakurihiden/2.0.0-db-foreignkey

Update unit-test Database Foregin Key for 2.0