3 lines
152 B
MySQL
3 lines
152 B
MySQL
|
ALTER TABLE vn.ticket ADD CONSTRAINT ticket_invoiceOut_FK
|
||
|
FOREIGN KEY (refFk) REFERENCES vn.invoiceOut(`ref`) ON DELETE RESTRICT ON UPDATE CASCADE;
|