Database changes for automatic deletion of team and all associated data