diff --git a/pkg/dbal/DbalContext.php b/pkg/dbal/DbalContext.php index 314db5dde..fc1f4a27a 100644 --- a/pkg/dbal/DbalContext.php +++ b/pkg/dbal/DbalContext.php @@ -238,6 +238,7 @@ public function createDataBaseTable(): void $table->addIndex(['redeliver_after', 'delivery_id']); $table->addIndex(['time_to_live', 'delivery_id']); + $table->addIndex(['delivery_id']); $sm->createTable($table); }