1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Migration_files_innodb extends CI_Migration { public function up() { $this->db->query(" ALTER TABLE `files` ENGINE = InnoDB; "); } public function down() { } }