We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 268a7f6 commit bb8d713Copy full SHA for bb8d713
1 file changed
app/Wiki.php
@@ -73,7 +73,7 @@ public function wikiDbVersion() {
73
/**
74
* @psalm-suppress InvalidArgument
75
*/
76
- return $this->hasOne(WikiDb::class)->version;
+ return $this->hasOne(WikiDb::class)->select(['id', 'wiki_id', 'version']);
77
}
78
79
// TODO these should just be on the backend model? =] Or marked as a private relationship or something?
0 commit comments