Seditio Source
Root |
./othercms/xenForo 2.2.8/src/XF/Install/Upgrade/1000170-101.php
<?php

namespace XF\Install\Upgrade;

class
Version1000170 extends AbstractUpgrade
{
    public function
getVersionName()
    {
        return
'1.0.1';
    }

    public function
step1()
    {
       
$this->executeUpgradeQuery("
            ALTER TABLE xf_thread
                DROP INDEX node_id_sticky,
                ADD INDEX node_id_sticky_last_post_date (node_id, sticky, last_post_date)
        "
);

        return
true;
    }
}