View file database/upgrades/20190327205657_add_disabled_to_modules.php
<?php use Phinx\Migration\AbstractMigration; class AddDisabledToModules extends AbstractMigration { /** * Migrate Change. */ public function change(): void { $table = $this->table('modules'); $table->addColumn('disabled', 'boolean', ['default' => 0, 'after' => 'version']) ->update(); } }