Skip to content

Commit

Permalink
fix: set table prefix on query grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
erikgaal authored Feb 22, 2024
1 parent 2864698 commit 74be444
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/PostgresEnhancedConnection.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ public function serverVersion(): string
protected function getDefaultQueryGrammar(): QueryGrammar
{
$grammar = new QueryGrammar();
$grammar->setTablePrefix($this->tablePrefix);
if (method_exists($grammar, 'setConnection')) {
$grammar->setConnection($this);
}
Expand Down

0 comments on commit 74be444

Please sign in to comment.