|
@@ -886,8 +886,10 @@ class Update extends Admin
|
|
|
|
|
|
$this->c->DB->addIndex('::posts', 'editor_id_idx', ['editor_id']);
|
|
|
|
|
|
+ $this->c->DB->dropIndex('::topics', 'forum_id_idx');
|
|
|
$this->c->DB->dropIndex('::topics', 'moved_to_idx');
|
|
|
$this->c->DB->addIndex('::topics', 'multi_1_idx', ['moved_to', 'forum_id', 'num_replies', 'last_post']);
|
|
|
+ $this->c->DB->addIndex('::topics', 'multi_2_idx', ['forum_id', 'sticky', 'last_post']);
|
|
|
|
|
|
return null;
|
|
|
}
|