salix/db/versions/11283-redAspidistra/00-firstScript.sql

4 lines
219 B
MySQL
Raw Normal View History

2024-10-07 05:30:36 +00:00
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;