We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5bb98b1 commit 667287cCopy full SHA for 667287c
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