芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/public_html/uol/db/migrations/20180529065816_data_set_truncate_fix_migration.php
. */ use Phinx\Migration\AbstractMigration; /** * Class DataSetTruncateFixMigration */ class DataSetTruncateFixMigration extends AbstractMigration { /** @inheritdoc */ public function change() { $table = $this->table('dataset'); if (!$table->hasColumn('lastClear')) { $table ->addColumn('lastClear', 'integer') ->changeColumn('authentication', 'string', ['limit' => 10, 'default' => null, 'null' => true]) ->save(); } } }