salix/db/versions/11189-purplePaniculata/00-firstScript.sql

4 lines
177 B
MySQL
Raw Permalink Normal View History

ALTER TABLE vn.item
ADD CONSTRAINT item_itemPackingType_FK FOREIGN KEY (itemPackingTypeFk)
REFERENCES vn.itemPackingType(code) ON DELETE RESTRICT ON UPDATE CASCADE;