Add dependent: :destroy to the user and entity relationships to Invitation, so that they are cleaned up on destroy