mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-25 06:57:28 +00:00
Update 9_Update_Leaderboard_Storage.sql
This commit is contained in:
parent
150031861d
commit
f0a72873f2
@ -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