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

3 lines
177 B
MySQL
Raw Permalink Normal View History

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