salix/db/versions/11342-crimsonDendro/03-itemShelving.sql

5 lines
163 B
SQL

ALTER TABLE vn.itemShelving
ADD CONSTRAINT itemShelving_shelving_FK FOREIGN KEY (shelvingFk) REFERENCES vn.shelving(id)
ON DELETE RESTRICT
ON UPDATE CASCADE;