We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 61930b0 commit 354dfb3Copy full SHA for 354dfb3
src/Storage/DbalNestedSetSchema.php
@@ -26,6 +26,8 @@ public function create() {
26
$tree->addIndex(['id', 'revision_id', 'left_pos', 'right_pos', 'depth']);
27
$tree->addIndex(['left_pos', 'right_pos']);
28
$tree->addIndex(['right_pos']);
29
+ $tree->addIndex(['left_pos']);
30
+ $tree->addIndex(['depth']);
31
32
foreach ($schema->toSql($this->connection->getDatabasePlatform()) as $sql) {
33
$this->connection->exec($sql);
0 commit comments