Skip to content

Commit

Permalink
Update FruitDecomulator.php
Browse files Browse the repository at this point in the history
  • Loading branch information
benborla authored Nov 20, 2023
1 parent 3340e8c commit 994896a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/Service/FruitDecomulator.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public function __invoke(): void
$connection->executeStatement("SET foreign_key_checks = 0;");
$connection->executeStatement($platform->getTruncateTableSQL($table, true));
// @INFO: Put back the original setting
$connection->executeStatement("SET foreign_key_checks = 0;");
$connection->executeStatement("SET foreign_key_checks = 1;");

// @INFO: Purge cache
$cache = new FilesystemAdapter();
Expand Down

0 comments on commit 994896a

Please sign in to comment.