Skip to content

Commit bee4222

Browse files
committed
Adds more indexes
1 parent 61930b0 commit bee4222

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Storage/DbalNestedSetSchema.php

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ public function create() {
2626
$tree->addIndex(['id', 'revision_id', 'left_pos', 'right_pos', 'depth']);
2727
$tree->addIndex(['left_pos', 'right_pos']);
2828
$tree->addIndex(['right_pos']);
29+
$tree->addIndex(['left_pos']);
2930

3031
foreach ($schema->toSql($this->connection->getDatabasePlatform()) as $sql) {
3132
$this->connection->exec($sql);

0 commit comments

Comments
 (0)