protected function removeMigrationHistory($version) { $command = $this->db->createCommand(); $command->delete($this->migrationTable, ['version' => $version])->execute(); }