chuni: Correctly implement recent rating requests

This commit is contained in:
e76cd2ec3a63f11710dc9fa0bc5b66176521af0a
2020-07-30 22:21:25 -07:00
committed by Tau
parent 6c22c4287e
commit 71a7cd7eed
9 changed files with 133 additions and 16 deletions

View File

@@ -357,3 +357,16 @@ create table "cm_user_playlog" (
"place_name" text not null,
"is_maimai" text not null
);
create table "cm_user_recent_rating" (
"id" integer primary key not null,
"profile_id" integer not null
references "cm_user_data"("id")
on delete cascade,
"sort_order" integer not null,
"music_id" integer not null,
"difficult_id" integer not null,
"rom_version_code" integer not null,
"score" integer not null,
constraint "cm_user_recent_rating_uq" unique ("profile_id", "sort_order")
);