8000 Merge pull request #34496 from blakethepatton/6.x · laravel/framework@2ade2e5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2ade2e5

Browse files
authored
Merge pull request #34496 from blakethepatton/6.x
Revert cascading truncations
2 parents 68f6646 + a4e2ac2 commit 2ade2e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Database/Query/Grammars/PostgresGrammar.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ protected function compileDeleteWithJoinsOrLimit(Builder $query)
318318
*/
319319
public function compileTruncate(Builder $query)
320320
{
321-
return ['truncate '.$this->wrapTable($query->from).' restart identity cascade' => []];
321+
return ['truncate '.$this->wrapTable($query->from).' restart identity' => []];
322322
}
323323

324324
/**

0 commit comments

Comments
 (0)
0