8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ade2e5 commit ee0bb7aCopy full SHA for ee0bb7a
src/Illuminate/Database/Query/Grammars/PostgresGrammar.php
@@ -318,7 +318,7 @@ protected function compileDeleteWithJoinsOrLimit(Builder $query)
318
*/
319
public function compileTruncate(Builder $query)
320
{
321
- return ['truncate '.$this->wrapTable($query->from).' restart identity' => []];
+ return ['truncate '.$this->wrapTable($query->from).' restart identity cascade' => []];
322
}
323
324
/**
0 commit comments