]> git.mxchange.org Git - friendica.git/blob - util/convert_innodb.sql
Merge branch 'develop' into utf8mb4
[friendica.git] / util / convert_innodb.sql
1 #  script to convert tables from MyISAM to InnoDB
2 #  change the %PLACEHOLDER% to the actual name of your Friendica DB
3  
4 SELECT CONCAT('ALTER TABLE ',table_schema,'.',table_name,' engine=InnoDB;') 
5 FROM information_schema.tables 
6 WHERE engine = 'MyISAM' AND  `table_schema` = '%PLACEHOLDER%';