Merge pull request #3000 from tobiasd/20161208-convert
only convert tables in friendica DB
This commit is contained in:
commit
5065def530
|
@ -1,4 +1,6 @@
|
|||
|
||||
# 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';
|
||||
WHERE engine = 'MyISAM' AND `table_schema` = '%PLACEHOLDER%';
|
||||
|
|
Loading…
Reference in a new issue