5 lines
163 B
MySQL
5 lines
163 B
MySQL
|
ALTER TABLE vn.itemShelving
|
||
|
ADD CONSTRAINT itemShelving_shelving_FK FOREIGN KEY (shelvingFk) REFERENCES vn.shelving(id)
|
||
|
ON DELETE RESTRICT
|
||
|
ON UPDATE CASCADE;
|