Skip to content

Commit

Permalink
change delete order
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianStorz committed Dec 17, 2024
1 parent 5b973fd commit 61cb262
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Command/ImportGamificationCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ protected function execute(InputInterface $input, OutputInterface $output): int

$this->em->getConnection()->executeQuery('DELETE FROM gamification_person_profile');
$this->em->getConnection()->executeQuery('DELETE FROM goal');
$this->em->getConnection()->executeQuery('DELETE FROM level');
$this->em->getConnection()->executeQuery('DELETE FROM level_up_log');
$this->em->getConnection()->executeQuery('DELETE FROM level');
if (is_null($json['levels'])) {
$output->writeln('No levels found.');
return 1;
Expand Down

0 comments on commit 61cb262

Please sign in to comment.