Awesome... That's a much better fix than the alternative...
A weird thing happened though... I get the following error...
Cannot add or update a child row: a foreign key constraint fails (`RTN/UserDetails`, CONSTRAINT `UserDetails_ibfk_1` FOREIGN KEY (`UDID`) REFERENCES `UserDetails` (`UDID`) ON DELETE CASCADE ON UPDATE CASCADE)
any ideas? Is that because I have the wrong details pointed inside mySQL?