Added foreign key to schema definition