Skip to content

Commit

Permalink
Compatibility for PgSQL
Browse files Browse the repository at this point in the history
  • Loading branch information
nilportugues committed Feb 4, 2016
1 parent 92f1990 commit e417995
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Builder/GenericBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ public function writeTableName(Table $table)
*/
public function writeColumnAlias($alias)
{
return "'{$alias}'";
return sprintf('"%s"', $alias);
}

/**
Expand Down

0 comments on commit e417995

Please sign in to comment.