Why is my addon skipping the upgrade steps?

Status
This content is read-only, or is not open for further replies.

CStrategies

Guest
offline
In my setup.php I have:

PHP:

Code:
namespace My/Addon;

use XF\AddOn\AbstractSetup;

use XF\AddOn\StepRunnerInstallTrait;

use XF\AddOn\StepRunnerUninstallTrait;

use XF\AddOn\StepRunnerUpgradeTrait;

use XF\Db\Schema\Alter;

use XF\Db\Schema\Create;

class Setup extends AbstractSetup

{

    use StepRunnerInstallTrait;

    use StepRunnerUninstallTrait;

    use StepRunnerUpgradeTrait;

    public function installStep1()

    {

        $this->schemaManager()->createTable('my_table'...

Read more

Continue reading...
 
Liked by:
Status
This content is read-only, or is not open for further replies.
Top Bottom