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 b2f292c + 64bd6e7 commit a5a7e0aCopy full SHA for a5a7e0a
src/CockroachDbConnection.php
@@ -22,7 +22,7 @@ class CockroachDbConnection extends PostgresConnection implements ConnectionInte
22
*/
23
protected function getDefaultQueryGrammar(): BaseGrammar
24
{
25
- return $this->withTablePrefix($this->setConnection(new QueryGrammar()));
+ return $this->withTablePrefix($this->setConnection(new QueryGrammar($this)));
26
}
27
28
/**
@@ -46,7 +46,7 @@ public function getSchemaBuilder(): DbBuilder
46
47
protected function getDefaultSchemaGrammar(): BaseGrammar
48
49
- return $this->withTablePrefix($this->setConnection(new SchemaGrammar()));
+ return $this->withTablePrefix($this->setConnection(new SchemaGrammar($this)));
50
51
52
0 commit comments