createTable('{{%debuggingsoap}}', [ 'id' => $this->primaryKey(), 'debugging_enable' => $this->integer()->defaultValue(0) ]); $this->insert('{{%debuggingsoap}}', [ 'debugging_enable' => 0 ]); Yii::$app->db->schema->refresh(); } public function down() { $this->dropTable('{{%debuggingsoap}}'); Yii::$app->db->schema->refresh(); } }