芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/airport-back/vendor/yiisoft/yii2/views/addColumnMigration.php
use yii\db\Migration; /** * Handles adding columns to table `= $table ?>`. = $this->render('_foreignTables', [ 'foreignKeys' => $foreignKeys, ]) ?> */ class = $className ?> extends Migration { /** * {@inheritdoc} */ public function safeUp() { = $this->render('_addColumns', [ 'table' => $table, 'fields' => $fields, 'foreignKeys' => $foreignKeys, ]) ?> } /** * {@inheritdoc} */ public function safeDown() { = $this->render('_dropColumns', [ 'table' => $table, 'fields' => $fields, 'foreignKeys' => $foreignKeys, ]) ?> } }