2 lines
233 B
MySQL
2 lines
233 B
MySQL
|
ALTER TABLE vn.expeditionMistake DROP FOREIGN KEY expeditionMistake_FK;
|
||
|
ALTER TABLE vn.expeditionMistake ADD CONSTRAINT expeditionMistake_FK FOREIGN KEY (expeditionFk) REFERENCES vn.expedition(id) ON DELETE CASCADE ON UPDATE CASCADE;
|