belongsTo('App\User', 'uploaded_by', 'id'); } public function team() { return $this->belongsTo('App\Team'); } }