芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/public_html/migrations/20190125170130_player_software_version_field_migration.php
. */ use Phinx\Migration\AbstractMigration; /** * Class PlayerSoftwareVersionFieldMigration */ class PlayerSoftwareVersionFieldMigration extends AbstractMigration { /** @inheritdoc */ public function change() { $table = $this->table('player_software'); if (!$table->hasColumn('playerShowVersion')) { $table ->addColumn('playerShowVersion', 'string', ['limit' => 50]) ->save(); } } }