mirror of
https://github.com/DarkflameUniverse/DarkflameServer
synced 2024-08-30 18:43:58 +00:00
fcb088d263
- Modularize tests - Add migrations - Fix switch case so it actually breaks - Add in missing writes - Beginning work on custom migration to move the leaderboard to the final state
9 lines
300 B
SQL
9 lines
300 B
SQL
ALTER TABLE leaderboard
|
|
ADD COLUMN hitPercentage FLOAT NOT NULL DEFAULT 0,
|
|
ADD COLUMN streak INT NOT NULL DEFAULT 0,
|
|
ADD COLUMN bestLapTime FLOAT NOT NULL DEFAULT 0,
|
|
ADD COLUMN numWins INT NOT NULL DEFAULT 0,
|
|
MODIFY time FLOAT NOT NULL DEFAULT 0;
|
|
|
|
ALTER TABLE leaderboard CHANGE time bestTime float;
|