We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9387aae + 78679d5 commit fd6d007Copy full SHA for fd6d007
src/Traits/CachePrefixing.php
@@ -28,7 +28,7 @@ protected function getCachePrefix() : string
28
29
protected function getDatabaseName() : string
30
{
31
- return $this->query->getConnection()->getDatabaseName();
+ return $this->model->getConnection()->getDatabaseName();
32
}
33
34
protected function getConnectionName() : string
0 commit comments