4 lines
218 B
MySQL
4 lines
218 B
MySQL
|
ALTER TABLE vn.workerDocument DROP FOREIGN KEY workerDocument_ibfk_1;
|
||
|
ALTER TABLE vn.workerDocument ADD CONSTRAINT workerDocument_FK FOREIGN KEY (worker) REFERENCES vn.worker(id) ON DELETE RESTRICT ON UPDATE CASCADE;
|
||
|
|