public function collectionFields() { return $this->hasMany('DvsField', 'page_version_id')->whereNotNull('collection_instance_id'); }