diff --git a/src/AeonDumpManager.php b/src/AeonDumpManager.php old mode 100644 new mode 100755 index ca537e3..09ae91b --- a/src/AeonDumpManager.php +++ b/src/AeonDumpManager.php @@ -2,6 +2,7 @@ namespace AeonDumpManager; +use Doctrine\DBAL\Connection; use Shopware\Core\Framework\Plugin; use Shopware\Core\Framework\Plugin\Context\ActivateContext; use Shopware\Core\Framework\Plugin\Context\DeactivateContext; @@ -24,7 +25,9 @@ class AeonDumpManager extends Plugin return; } - // Remove or deactivate the data created by the plugin + /** @var Connection $connection */ + $connection = $this->container->get(Connection::class); + $connection->executeStatement('DROP TABLE IF EXISTS `aeon_dump_manager_job`'); } public function activate(ActivateContext $activateContext): void