salix/db/versions/11172-blueFern/13-firstScript.sql

2 lines
177 B
MySQL
Raw Normal View History

2024-08-20 07:11:30 +00:00
ALTER TABLE vn.invoiceCorrection ADD CONSTRAINT invoiceCorrection_invoiceOut_FK_1
FOREIGN KEY (correctedFk) REFERENCES vn.invoiceOut(id) ON DELETE CASCADE ON UPDATE CASCADE;