mirror of
https://github.com/friendica/friendica
synced 2024-11-14 05:02:54 +00:00
6 lines
292 B
SQL
6 lines
292 B
SQL
# script to convert tables from MyISAM to InnoDB
|
|
# change the %PLACEHOLDER% to the 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` = '%PLACEHOLDER%';
|