public function thumbnail() { return $this->hasOne('Corcel\\ThumbnailMeta', 'post_id')->where('meta_key', '_thumbnail_id'); }