芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/public_html/migrations/20200122143630_add_released_required_file_migration.php
. */ use Phinx\Migration\AbstractMigration; /** * Class AddReleasedRequiredFileMigration */ class AddReleasedRequiredFileMigration extends AbstractMigration { /** @inheritdoc */ public function change() { $table = $this->table('requiredfile'); $table ->addColumn('released', 'integer', ['limit' => \Phinx\Db\Adapter\MysqlAdapter::INT_TINY, 'default' => 1]) ->save(); } }