/** * Get the author of the post. */ public function user() { return $this->belongsTo(User::class)->withDefault(); }