core-jgi/migration/353a-354a/postgresql/527_BF2797787.sql

7 lines
268 B
MySQL
Raw Normal View History

ALTER TABLE c_orderline DROP CONSTRAINT linkorderline_corderline;
ALTER TABLE c_orderline
ADD CONSTRAINT linkorderline_corderline FOREIGN KEY (link_orderline_id)
REFERENCES c_orderline (c_orderline_id) MATCH SIMPLE
ON UPDATE NO ACTION ON DELETE SET NULL;