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