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.
1 parent 72ec5ff commit c1c766dCopy full SHA for c1c766d
src/Connect/Connection.php
@@ -32,7 +32,7 @@ public function getSchemaBuilder()
32
*/
33
protected function getDefaultQueryGrammar()
34
{
35
- return $this->withTablePrefix(new Query\Grammar);
+ return $this->withTablePrefix((new Query\Grammar)->setConnection($this));
36
}
37
38
/**
@@ -42,7 +42,7 @@ protected function getDefaultQueryGrammar()
42
43
protected function getDefaultSchemaGrammar()
44
45
- return $this->withTablePrefix(new Schema\Grammar);
+ return $this->withTablePrefix((new Schema\Grammar)->setConnection($this));
46
47
48
0 commit comments