use %placeholder% instead of Friendica
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Fri, 9 Dec 2016 15:43:40 +0000 (16:43 +0100)
committerTobias Diekershoff <tobias.diekershoff@gmx.net>
Fri, 9 Dec 2016 15:43:40 +0000 (16:43 +0100)
util/convert_innodb.sql

index bcc8722..6a2774a 100644 (file)
@@ -1,4 +1,6 @@
-
+#  script to convert tables from MyISAM to InnoDB
+#  change the %PLACEHOLDER% to ythe actual name of your Friendica DB
 SELECT CONCAT('ALTER TABLE ',table_schema,'.',table_name,' engine=InnoDB;') 
 FROM information_schema.tables 
-WHERE engine = 'MyISAM' AND  `table_schema` = 'friendica';
+WHERE engine = 'MyISAM' AND  `table_schema` = '%PLACEHOLDER%';