belongsTo(user::class)->withDefault(); } public function followable() { return $this->morphTo(); } public function scopeMine($query) { return $query->where('user_id', \Auth::guard('api')->id()); } }