raise error on destroy when no pk is set