added foreign key in receipt.sql