Commit 9201ff9c authored by Vincent-Simonin's avatar Vincent-Simonin

Fixed `PostgreSqlPlatform::getTruncateTableSQL`

parent 7f9f5451
...@@ -686,7 +686,7 @@ class PostgreSqlPlatform extends AbstractPlatform ...@@ -686,7 +686,7 @@ class PostgreSqlPlatform extends AbstractPlatform
*/ */
public function getTruncateTableSQL($tableName, $cascade = false) public function getTruncateTableSQL($tableName, $cascade = false)
{ {
return 'TRUNCATE '.$tableName.' '.($cascade)?'CASCADE':''; return 'TRUNCATE '.$tableName.' '.(($cascade)?'CASCADE':'');
} }
public function getReadLockSQL() public function getReadLockSQL()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment