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

3 lines
152 B
MySQL
Raw Normal View History

ALTER TABLE vn.ticket ADD CONSTRAINT ticket_invoiceOut_FK
FOREIGN KEY (refFk) REFERENCES vn.invoiceOut(`ref`) ON DELETE RESTRICT ON UPDATE CASCADE;