salix/db/versions/.archive/10336-grayMoss/00-firstScript.sql

9 lines
241 B
MySQL
Raw Normal View History

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;