'json']; public function cover() { return $this->hasOne(Upload::class, 'id', 'cover_id'); } }