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

4 lines
177 B
SQL

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