salix/db/versions/.archive/10299-blueTulip/00-firstScript.undo.sql

8 lines
349 B
MySQL
Raw Normal View History

ALTER TABLE hedera.orderRecalc
ADD CONSTRAINT orderRecalc_ibfk_1 FOREIGN KEY (orderFk) REFERENCES hedera.`order`(id) ON DELETE CASCADE ON UPDATE CASCADE;
ALTER TABLE vn.ticketRecalc
ADD CONSTRAINT ticketRecalc_ibfk_1 FOREIGN KEY (ticketFk) REFERENCES vn.ticket(id) ON DELETE CASCADE ON UPDATE CASCADE;
DROP TABLE IF EXISTS `util`.`binlogQueue`;