diff options
author | Patrick Davison <snapwilliam@gmail.com> | 2013-03-27 15:39:08 -0700 |
---|---|---|
committer | Patrick Davison <snapwilliam@gmail.com> | 2013-03-27 15:39:08 -0700 |
commit | ce6050bfe419f820c23f7157a5df8574c27de345 (patch) | |
tree | 5c42c2c0686af264deeaa7b1f850b43d1f892eea /db updates.sql | |
parent | f859baa3137b1d16f7252947554c51c58daf2b90 (diff) | |
parent | 5ddccd86ab09b4536b82545700281f32e71680f5 (diff) | |
download | pathery-ce6050bfe419f820c23f7157a5df8574c27de345.tar.xz |
Merge branch 'HEAD' of ssh://git@git.raylu.net/pathery
Diffstat (limited to 'db updates.sql')
-rw-r--r-- | db updates.sql | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/db updates.sql b/db updates.sql index 5afd88f..739c6e3 100644 --- a/db updates.sql +++ b/db updates.sql @@ -247,6 +247,9 @@ DROP INDEX `mapID` , ADD UNIQUE `mapID` ( `mapID` , `ordering` ); -- Optimizing the daily update queries -ALTER TABLE `solutions` ADD INDEX ( `isHighScore` ) +ALTER TABLE `solutions` ADD INDEX ( `isHighScore` ); -ALTER TABLE `users` ADD `wallOrientation` TINYINT NOT NULL DEFAULT '0' AFTER `wallEmblem`
\ No newline at end of file +ALTER TABLE `users` ADD `wallOrientation` TINYINT NOT NULL DEFAULT '0' AFTER `wallEmblem`; + +ALTER TABLE `solutions` DROP INDEX `userIDmapID` , +ADD UNIQUE `mapIDuserID` ( `mapID` , `userID` );
\ No newline at end of file |