use %placeholder% instead of Friendica

This commit is contained in:
Tobias Diekershoff 2016-12-09 16:43:40 +01:00
parent f9b0beff8d
commit a564e31451
1 changed files with 4 additions and 2 deletions

View 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%';