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

namespace XF\Install\Upgrade;

class
Version1040270 extends AbstractUpgrade
{
    public function
getVersionName()
    {
        return
'1.4.2';
    }

    public function
step1()
    {
       
$this->executeUpgradeQuery("
            ALTER TABLE xf_session_activity
            DROP PRIMARY KEY,
            ADD PRIMARY KEY (user_id, unique_key) USING BTREE
        "
);
    }
}