Added foreign key in sql