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