mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-21 21:17:25 +00:00
Update 9_Update_Leaderboard_Storage.sql (#1520)
This commit is contained in:
parent
5996f3cbf4
commit
bbc0908989
@ -11,7 +11,7 @@ ALTER TABLE leaderboard CHANGE time secondaryScore FLOAT NOT NULL DEFAULT 0 AFTE
|
|||||||
/* A bit messy, but better than going through a bunch of code fixes all to be run once. */
|
/* A bit messy, but better than going through a bunch of code fixes all to be run once. */
|
||||||
UPDATE leaderboard SET
|
UPDATE leaderboard SET
|
||||||
primaryScore = secondaryScore,
|
primaryScore = secondaryScore,
|
||||||
secondaryScore = 0 WHERE game_id IN (1, 44, 46, 47, 48, 49, 53, 103, 104, 108, 1901);
|
secondaryScore = 0 WHERE game_id IN (1, 44, 46, 47, 48, 49, 53, 103, 104, 108, 1901) AND secondaryScore > 0;
|
||||||
|
|
||||||
/* Do this last so we dont update entry times erroneously */
|
/* Do this last so we dont update entry times erroneously */
|
||||||
ALTER TABLE leaderboard
|
ALTER TABLE leaderboard
|
||||||
|
Loading…
Reference in New Issue
Block a user