-- AddForeignKey
ALTER TABLE "TransactionItem" ADD CONSTRAINT "TransactionItem_item_type_id_fkey" FOREIGN KEY ("item_type_id") REFERENCES "item_type"("id") ON DELETE RESTRICT ON UPDATE CASCADE;

-- AddForeignKey
ALTER TABLE "TransactionItem" ADD CONSTRAINT "TransactionItem_pricing_header_id_fkey" FOREIGN KEY ("pricing_header_id") REFERENCES "pricing_header"("id") ON DELETE RESTRICT ON UPDATE CASCADE;

-- AddForeignKey
ALTER TABLE "TransactionItem" ADD CONSTRAINT "TransactionItem_pricing_detail_id_fkey" FOREIGN KEY ("pricing_detail_id") REFERENCES "pricing_detail"("id") ON DELETE RESTRICT ON UPDATE CASCADE;
