friendica/util/convert_innodb.sql

7 wiersze
292 B
MySQL
Czysty Zwykły widok Historia

2016-12-09 15:43:40 +00:00
# script to convert tables from MyISAM to InnoDB
2016-12-09 17:11:27 +00:00
# change the %PLACEHOLDER% to the actual name of your Friendica DB
2016-12-09 15:43:40 +00:00
SELECT CONCAT('ALTER TABLE ',table_schema,'.',table_name,' engine=InnoDB;')
FROM information_schema.tables
2016-12-09 15:43:40 +00:00
WHERE engine = 'MyISAM' AND `table_schema` = '%PLACEHOLDER%';