Skip to content

Commit 0212619

Browse files
authored
fix: set table prefix on query grammar (#74)
1 parent 2864698 commit 0212619

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/PostgresEnhancedConnection.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ public function serverVersion(): string
117117
protected function getDefaultQueryGrammar(): QueryGrammar
118118
{
119119
$grammar = new QueryGrammar();
120+
$grammar->setTablePrefix($this->tablePrefix);
120121
if (method_exists($grammar, 'setConnection')) {
121122
$grammar->setConnection($this);
122123
}

0 commit comments

Comments
 (0)