Skip to content

Commit 1a33dfa

Browse files
committed
[dbla] add index
1 parent f14bf35 commit 1a33dfa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/dbal/DbalContext.php

+1
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ public function createDataBaseTable()
190190
$table->addIndex(['queue']);
191191
$table->addIndex(['priority']);
192192
$table->addIndex(['delayed_until']);
193+
$table->addIndex(['priority', 'published_at']);
193194

194195
$sm->createTable($table);
195196
}

0 commit comments

Comments
 (0)