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