From 8956c3aec70ccc98ce2aa95249fc0d1c70809284 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sun, 22 Sep 2013 09:36:59 +0200 Subject: Use InnoDB for the files table The files table was MyISAM even though all other tables were InnoDB. We should avoid mixing types here (backups, transactions and performance). Signed-off-by: Pierre Schmitz Signed-off-by: Florian Pritz --- application/migrations/010_files_innodb.php | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 application/migrations/010_files_innodb.php (limited to 'application/migrations/010_files_innodb.php') 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 @@ +db->query(" + ALTER TABLE `files` ENGINE = InnoDB; + "); + } + + public function down() + { + } +} -- cgit v1.2.3-24-g4f1b