diff options
author | zottel <github@zottel.net> | 2012-05-20 09:08:56 +0200 |
---|---|---|
committer | zottel <github@zottel.net> | 2012-05-20 09:08:56 +0200 |
commit | 2cd3ec7b983327f8c162845d0f4b8d9753f30e27 (patch) | |
tree | 3eefeaf641e91416fa7b43b9a36b829f28ff1983 /convert_innodb.sql | |
parent | 764ac240a9a9ffb7c855a69bc2f81e9d314a617f (diff) | |
parent | f16a1199408d167bbc7c52dc408ef02b36808317 (diff) | |
download | volse-hubzilla-2cd3ec7b983327f8c162845d0f4b8d9753f30e27.tar.gz volse-hubzilla-2cd3ec7b983327f8c162845d0f4b8d9753f30e27.tar.bz2 volse-hubzilla-2cd3ec7b983327f8c162845d0f4b8d9753f30e27.zip |
Merge remote branch 'upstream/master'
Diffstat (limited to 'convert_innodb.sql')
-rw-r--r-- | convert_innodb.sql | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/convert_innodb.sql b/convert_innodb.sql new file mode 100644 index 000000000..9eeb67fe8 --- /dev/null +++ b/convert_innodb.sql @@ -0,0 +1,19 @@ + + +ALTER TABLE `profile` DROP INDEX `pub_keywords` ; +ALTER TABLE `profile` DROP INDEX `prv_keywords` ; + +ALTER TABLE `item` DROP INDEX `title` ; +ALTER TABLE `item` DROP INDEX `body` ; +ALTER TABLE `item` DROP INDEX `allow_cid` ; +ALTER TABLE `item` DROP INDEX `allow_gid` ; +ALTER TABLE `item` DROP INDEX `deny_cid` ; +ALTER TABLE `item` DROP INDEX `deny_gid` ; +ALTER TABLE `item` DROP INDEX `tag` ; +ALTER TABLE `item` DROP INDEX `file` ; + + +SELECT CONCAT('ALTER TABLE ',table_schema,'.',table_name,' engine=InnoDB;') +FROM information_schema.tables +WHERE engine = 'MyISAM'; + |