芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/public_html/migrations/20190710213414_add_is_active_report_schedule_migration.php
. */ use Phinx\Migration\AbstractMigration; /** * Class AddIsActiveReportScheduleMigration */ class AddIsActiveReportScheduleMigration extends AbstractMigration { /** @inheritdoc */ public function change() { $table = $this->table('reportschedule'); $table ->addColumn('isActive', 'integer', ['default' => 1, 'after' => 'userId']) ->save(); } }