Commit 3d74ac1a authored by Guilherme Blanco's avatar Guilherme Blanco

Merge pull request #30 from Vincent-Simonin/postgresqlplatform-truncate

[PostgreSqlPlatform] Fixed truncate
parents 7f9f5451 9201ff9c
......@@ -686,7 +686,7 @@ class PostgreSqlPlatform extends AbstractPlatform
*/
public function getTruncateTableSQL($tableName, $cascade = false)
{
return 'TRUNCATE '.$tableName.' '.($cascade)?'CASCADE':'';
return 'TRUNCATE '.$tableName.' '.(($cascade)?'CASCADE':'');
}
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