disable cascade  delete as it deletes the versions object as well as the versions