From a564e31451238cc66efc90d7a4f9c79c0317514f Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Fri, 9 Dec 2016 16:43:40 +0100 Subject: [PATCH] use %placeholder% instead of Friendica --- util/convert_innodb.sql | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/util/convert_innodb.sql b/util/convert_innodb.sql index bcc87222a..6a2774aa4 100644 --- a/util/convert_innodb.sql +++ b/util/convert_innodb.sql @@ -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%';