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