From ed9778820a0f6bc9ad4481975558f3d8f68d8a66 Mon Sep 17 00:00:00 2001 From: tuxes3 Date: Wed, 8 May 2024 14:04:51 -0500 Subject: [PATCH] fix(cron-execution): added index to started_at \n\n #14 --- src/Entity/Execution.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Entity/Execution.php b/src/Entity/Execution.php index bc2ff8c..86ca180 100644 --- a/src/Entity/Execution.php +++ b/src/Entity/Execution.php @@ -36,6 +36,7 @@ #[ORM\Table(name: 'whatwedo_cron_execution')] #[ORM\Entity(repositoryClass: ExecutionRepository::class)] +#[ORM\Index(name: 'whatwedo_cron_execution_started_at', columns: ['started_at'])] class Execution { public const STATE_PENDING = 'pending';