芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/public_html/migrations/20200319093235_change_interrupt_layout_migration.php
. */ use Phinx\Migration\AbstractMigration; class ChangeInterruptLayoutMigration extends AbstractMigration { /** @inheritdoc */ public function change() { $scheduleTable = $this->table('schedule'); // Add a new column to Schedule table - shareOfVoice $scheduleTable ->changeColumn('shareOfVoice', 'integer', ['limit' => \Phinx\Db\Adapter\MysqlAdapter::INT_SMALL, 'default' => null, 'null' => true]) ->save(); } }