芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/public_html/mctv/db/migrations/20190719074601_missing_default_value_migration.php
. */ use Phinx\Migration\AbstractMigration; class MissingDefaultValueMigration extends AbstractMigration { /** @inheritdoc */ public function change() { $table = $this->table('dataset'); $table->changeColumn('lastDataEdit', 'integer', ['default' => 0]) ->changeColumn('lastClear', 'integer', ['default' => 0]) ->save(); } }