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

3 lines
177 B
MySQL
Raw Permalink Normal View History

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