diff options
author | Patrick Davison <snapwilliam@gmail.com> | 2013-05-29 22:46:09 -0700 |
---|---|---|
committer | Patrick Davison <snapwilliam@gmail.com> | 2013-05-29 22:46:09 -0700 |
commit | 7b0dbb4a8a57b1ee3ab3dc5abb871311ae434d7f (patch) | |
tree | f49efc6e759f4e1f3609b3a71cb84f3584a98374 | |
parent | 4a7b4e549fbbdb81aea8d837685ff83e0391ba86 (diff) | |
download | pathery-7b0dbb4a8a57b1ee3ab3dc5abb871311ae434d7f.tar.xz |
SQL updates.
-rw-r--r-- | db updates.sql | 32 |
1 files changed, 29 insertions, 3 deletions
diff --git a/db updates.sql b/db updates.sql index 9a20ade..403fc43 100644 --- a/db updates.sql +++ b/db updates.sql @@ -5,6 +5,32 @@ ALTER TABLE `challenges` ADD `dialogStart` VARCHAR( 200 ) DEFAULT NULL , ADD `dialogFail` VARCHAR( 200 ) DEFAULT NULL , ADD `dialogSuccess` VARCHAR( 200 ) DEFAULT NULL ; --- Add index necessary for stats updates -ALTER TABLE `bluePathery`.`solutions` -ADD INDEX `mapIDMoves` ( `mapID` , `moves` )
\ No newline at end of file +--InnoDB engine switch: +ALTER TABLE achievements ENGINE = InnoDB; +ALTER TABLE challengeMaps ENGINE = InnoDB; +ALTER TABLE challenges ENGINE = InnoDB; +ALTER TABLE challengeSolutions ENGINE = InnoDB; +ALTER TABLE chat ENGINE = InnoDB; +ALTER TABLE emailQueue ENGINE = InnoDB; +ALTER TABLE emails ENGINE = InnoDB; +ALTER TABLE mapOfTheDay ENGINE = InnoDB; +ALTER TABLE maps ENGINE = InnoDB; +ALTER TABLE settings ENGINE = InnoDB; +ALTER TABLE solutions ENGINE = InnoDB; +ALTER TABLE users ENGINE = InnoDB; + +--Add index necessary for stats updates +ALTER TABLE `solutions` +ADD INDEX `mapIDMoves` ( `mapID` , `moves` ); + +--I forgot this table: +ALTER TABLE unlocks ENGINE = InnoDB; + +--Straggling depreciated tables: +DROP TABLE statistics; +--We must have copied the data from this, right? +DROP TABLE userData; +DROP TABLE guestSolutions; + + +--The above was executed on production on 05-28-2013
\ No newline at end of file |