1 # script to convert tables from MyISAM to InnoDB
2 # change the %PLACEHOLDER% to the actual name of your Friendica DB
4 SELECT CONCAT('ALTER TABLE ',table_schema,'.',table_name,' engine=InnoDB;')
5 FROM information_schema.tables
6 WHERE engine = 'MyISAM' AND `table_schema` = '%PLACEHOLDER%';