Commit 4986650e authored by Steve Müller's avatar Steve Müller

fix truncate table SQL in DB2

parent dd0d8867
......@@ -155,6 +155,14 @@ class DB2Platform extends AbstractPlatform
return 'TIME';
}
/**
* {@inheritdoc}
*/
public function getTruncateTableSQL($tableName, $cascade = false)
{
return 'TRUNCATE ' . $tableName . ' IMMEDIATE';
}
/**
* {@inheritDoc}
*/
......
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