public function revision() { return $this->hasMany('Corcel\\Post', 'post_parent')->where('post_type', 'revision'); }