Should be `belongs_to :team, dependent: :destroy`