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

3 lines
152 B
MySQL
Raw Normal View History

2024-08-20 07:11:30 +00:00
ALTER TABLE vn.ticket ADD CONSTRAINT ticket_invoiceOut_FK
FOREIGN KEY (refFk) REFERENCES vn.invoiceOut(`ref`) ON DELETE RESTRICT ON UPDATE CASCADE;