芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/public_html/mctv/db/migrations/20181210092443_remove_image_uri_module_migration.php
. */ use Phinx\Migration\AbstractMigration; /** * Class RemoveImageUriModuleMigration * Remove the imageUri column from modules table */ class RemoveImageUriModuleMigration extends AbstractMigration { /** @inheritdoc */ public function change() { $table = $this->table('module'); if ($table->hasColumn('imageUri')) { $table->removeColumn('imageUri')->update(); } } }