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