Added foreign keys in migration.