I have a simple query
UPDATE `t_timecard_detail` SET `timeoff_request_id` = \'adad8e0d-c22b-41c3-a460-6cf982729299\' WHERE `id` = \'cfc7a0a1-4e03-46a4-af89-
Foreign key constraints can't be applied to MyISAM engine.both table should use innodb engine for supporting foreign key constraints.