ALTER TABLE vn.cmr DROP FOREIGN KEY cmr_fk1; ALTER TABLE vn.cmr ADD CONSTRAINT cmr_fk1 FOREIGN KEY (ticketFk) REFERENCES vn.ticket(id);