[maimai2] Add Splash Plus support

This commit is contained in:
Dom Eori
2021-11-30 18:43:02 +09:00
parent 90091d2155
commit 708cbf33d1
5 changed files with 49 additions and 4 deletions

View File

@@ -0,0 +1,2 @@
ALTER TABLE `maimai2_user_course`
RENAME COLUMN `total_rest_life` TO `total_restlife`;

View File

@@ -0,0 +1,24 @@
-- I got zero bug report about this before so.. just assume that user never used this table and API.
DROP TABLE `maimai2_user_course`;
CREATE TABLE `maimai2_user_course` (
id INTEGER,
course_id INTEGER,
is_last_clear BOOLEAN,
total_restlife INTEGER,
total_achievement INTEGER,
total_deluxscore INTEGER,
play_count INTEGER,
clear_date VARCHAR (255),
last_play_date VARCHAR (255),
best_achievement INTEGER,
best_achievement_date VARCHAR (255),
best_deluxscore INTEGER,
best_deluxscore_date VARCHAR (255),
user_id BIGINT REFERENCES maimai2_user_detail (id),
PRIMARY KEY (
id
)
);