salix/db/versions/10800-yellowSalal/00-firstScript.sql

3 lines
143 B
SQL

ALTER TABLE vn.operator ADD CONSTRAINT operator_FK_4
FOREIGN KEY (sectorFk) REFERENCES vn.sector(id) ON DELETE RESTRICT ON UPDATE CASCADE;