USE vn; ALTER TABLE vn.ticketRefund DROP FOREIGN KEY ticketRefund_FK; ALTER TABLE vn.ticketRefund ADD CONSTRAINT ticketRefund_FK FOREIGN KEY (refundTicketFk) REFERENCES vn.ticket(id) ON DELETE CASCADE ON UPDATE CASCADE;