summaryrefslogtreecommitdiffstats
path: root/application/migrations/010_files_innodb.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/migrations/010_files_innodb.php')
-rw-r--r--application/migrations/010_files_innodb.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/application/migrations/010_files_innodb.php b/application/migrations/010_files_innodb.php
new file mode 100644
index 000000000..b32f94724
--- /dev/null
+++ b/application/migrations/010_files_innodb.php
@@ -0,0 +1,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()
+ {
+ }
+}