diff --git a/sql/patch-full-schema.sql b/sql/patch-full-schema.sql index 40fae266..191b4728 100644 --- a/sql/patch-full-schema.sql +++ b/sql/patch-full-schema.sql @@ -1,2 +1,58 @@ USE ifdb; +ALTER TABLE `audit` Engine = InnoDB; +ALTER TABLE `blockedtagsynonyms` Engine = InnoDB; +ALTER TABLE `clubmembers` Engine = InnoDB; +ALTER TABLE `clubs` Engine = InnoDB; +ALTER TABLE `compdivs` Engine = InnoDB; +ALTER TABLE `competitions` Engine = InnoDB; +ALTER TABLE `compgames` Engine = InnoDB; +ALTER TABLE `compprofilelinks` Engine = InnoDB; +ALTER TABLE `comps_history` Engine = InnoDB; +ALTER TABLE `crossrecs` Engine = InnoDB; +ALTER TABLE `downloadhelp` Engine = InnoDB; +ALTER TABLE `extreviews` Engine = InnoDB; +ALTER TABLE `filetypes` Engine = InnoDB; +ALTER TABLE `formatprivs` Engine = InnoDB; +ALTER TABLE `gamefwds` Engine = InnoDB; +ALTER TABLE `gamelinks` Engine = InnoDB; +ALTER TABLE `gameprofilelinks` Engine = InnoDB; +ALTER TABLE `gameRatingsSandbox0_mv` Engine = InnoDB; +ALTER TABLE `games_history` Engine = InnoDB; +ALTER TABLE `games` Engine = InnoDB; +ALTER TABLE `gametags` Engine = InnoDB; +ALTER TABLE `gamexrefs` Engine = InnoDB; +ALTER TABLE `gamexreftypes` Engine = InnoDB; +ALTER TABLE `ifids` Engine = InnoDB; +ALTER TABLE `iso639` Engine = InnoDB; +ALTER TABLE `iso639x` Engine = InnoDB; +ALTER TABLE `logins` Engine = InnoDB; +ALTER TABLE `mirrors` Engine = InnoDB; +ALTER TABLE `news` Engine = InnoDB; +ALTER TABLE `nonces` Engine = InnoDB; +ALTER TABLE `operatingsystems` Engine = InnoDB; +ALTER TABLE `osprivs` Engine = InnoDB; +ALTER TABLE `osversions` Engine = InnoDB; +ALTER TABLE `persistentsessions` Engine = InnoDB; +ALTER TABLE `playedgames` Engine = InnoDB; +ALTER TABLE `pollcomments` Engine = InnoDB; +ALTER TABLE `polls` Engine = InnoDB; +ALTER TABLE `pollvotes` Engine = InnoDB; +ALTER TABLE `privileges` Engine = InnoDB; +ALTER TABLE `reclistitems` Engine = InnoDB; +ALTER TABLE `reclists` Engine = InnoDB; +ALTER TABLE `reviewflags` Engine = InnoDB; +ALTER TABLE `reviews` Engine = InnoDB; +ALTER TABLE `reviewtags` Engine = InnoDB; +ALTER TABLE `reviewvotes` Engine = InnoDB; +ALTER TABLE `sitenews` Engine = InnoDB; +ALTER TABLE `specialreviewers` Engine = InnoDB; +ALTER TABLE `stylepics` Engine = InnoDB; +ALTER TABLE `stylesheets` Engine = InnoDB; +ALTER TABLE `tagstats` Engine = InnoDB; +ALTER TABLE `ucomments` Engine = InnoDB; +ALTER TABLE `unwishlists` Engine = InnoDB; +ALTER TABLE `userfilters` Engine = InnoDB; +ALTER TABLE `users` Engine = InnoDB; +ALTER TABLE `userScores_mv` Engine = InnoDB; +ALTER TABLE `wishlists` Engine = InnoDB; diff --git a/sql/patch-schema-2.sql b/sql/patch-schema-2.sql index 6d786e89..dcce89a7 100644 --- a/sql/patch-schema-2.sql +++ b/sql/patch-schema-2.sql @@ -76,3 +76,60 @@ ALTER TABLE `userfilters` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unico ALTER TABLE `users` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci; ALTER TABLE `userScores_mv` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci; ALTER TABLE `wishlists` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci; + +ALTER TABLE `audit` Engine = InnoDB; +ALTER TABLE `blockedtagsynonyms` Engine = InnoDB; +ALTER TABLE `clubmembers` Engine = InnoDB; +ALTER TABLE `clubs` Engine = InnoDB; +ALTER TABLE `compdivs` Engine = InnoDB; +ALTER TABLE `competitions` Engine = InnoDB; +ALTER TABLE `compgames` Engine = InnoDB; +ALTER TABLE `compprofilelinks` Engine = InnoDB; +ALTER TABLE `comps_history` Engine = InnoDB; +ALTER TABLE `crossrecs` Engine = InnoDB; +ALTER TABLE `downloadhelp` Engine = InnoDB; +ALTER TABLE `extreviews` Engine = InnoDB; +ALTER TABLE `filetypes` Engine = InnoDB; +ALTER TABLE `formatprivs` Engine = InnoDB; +ALTER TABLE `gamefwds` Engine = InnoDB; +ALTER TABLE `gamelinks` Engine = InnoDB; +ALTER TABLE `gameprofilelinks` Engine = InnoDB; +ALTER TABLE `gameRatingsSandbox0_mv` Engine = InnoDB; +ALTER TABLE `games_history` Engine = InnoDB; +ALTER TABLE `games` Engine = InnoDB; +ALTER TABLE `gametags` Engine = InnoDB; +ALTER TABLE `gamexrefs` Engine = InnoDB; +ALTER TABLE `gamexreftypes` Engine = InnoDB; +ALTER TABLE `ifids` Engine = InnoDB; +ALTER TABLE `iso639` Engine = InnoDB; +ALTER TABLE `iso639x` Engine = InnoDB; +ALTER TABLE `logins` Engine = InnoDB; +ALTER TABLE `mirrors` Engine = InnoDB; +ALTER TABLE `news` Engine = InnoDB; +ALTER TABLE `nonces` Engine = InnoDB; +ALTER TABLE `operatingsystems` Engine = InnoDB; +ALTER TABLE `osprivs` Engine = InnoDB; +ALTER TABLE `osversions` Engine = InnoDB; +ALTER TABLE `persistentsessions` Engine = InnoDB; +ALTER TABLE `playedgames` Engine = InnoDB; +ALTER TABLE `pollcomments` Engine = InnoDB; +ALTER TABLE `polls` Engine = InnoDB; +ALTER TABLE `pollvotes` Engine = InnoDB; +ALTER TABLE `privileges` Engine = InnoDB; +ALTER TABLE `reclistitems` Engine = InnoDB; +ALTER TABLE `reclists` Engine = InnoDB; +ALTER TABLE `reviewflags` Engine = InnoDB; +ALTER TABLE `reviews` Engine = InnoDB; +ALTER TABLE `reviewtags` Engine = InnoDB; +ALTER TABLE `reviewvotes` Engine = InnoDB; +ALTER TABLE `sitenews` Engine = InnoDB; +ALTER TABLE `specialreviewers` Engine = InnoDB; +ALTER TABLE `stylepics` Engine = InnoDB; +ALTER TABLE `stylesheets` Engine = InnoDB; +ALTER TABLE `tagstats` Engine = InnoDB; +ALTER TABLE `ucomments` Engine = InnoDB; +ALTER TABLE `unwishlists` Engine = InnoDB; +ALTER TABLE `userfilters` Engine = InnoDB; +ALTER TABLE `users` Engine = InnoDB; +ALTER TABLE `userScores_mv` Engine = InnoDB; +ALTER TABLE `wishlists` Engine = InnoDB;