4 lines
219 B
MySQL
4 lines
219 B
MySQL
|
ALTER TABLE vn.itemShelving DROP FOREIGN KEY itemShelving_fk2;
|
||
|
ALTER TABLE vn.itemShelving ADD CONSTRAINT itemShelving_fk2
|
||
|
FOREIGN KEY (shelvingFk) REFERENCES vn.shelving(code) ON DELETE RESTRICT ON UPDATE CASCADE;
|