Skip to content

Commit

Permalink
[PR] #13 from Becods: Extra fields from bud
Browse files Browse the repository at this point in the history
[+] Extra fields from bud
  • Loading branch information
hykilpikonna authored Feb 26, 2024
2 parents 20468e6 + 3d713b1 commit 759519d
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 0 deletions.
2 changes: 2 additions & 0 deletions AquaNet/src/libs/maimaiTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,4 +113,6 @@ export interface MaimaiUserPlaylog {
trialPlayAchievement: number;
extNum1: number;
extNum2: number;
extNum4: number;
extBool1: boolean;
}
Original file line number Diff line number Diff line change
Expand Up @@ -153,4 +153,6 @@ public class UserDetail implements Serializable {
@Transient
private int cmLastEmoneyCredit = 69;
private int mapStock;
private int currentPlayCount;
private int renameCredit;
}
Original file line number Diff line number Diff line change
Expand Up @@ -255,4 +255,9 @@ public class UserPlaylog implements Serializable {

private int extNum2;

private int extNum4;

@JsonProperty("extBool1")
private boolean extBool1;

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
-- maimai2_user_playlog
ALTER TABLE maimai2_user_playlog ADD COLUMN ext_bool1 BOOLEAN;
ALTER TABLE maimai2_user_playlog ADD COLUMN ext_num4 INTEGER;
UPDATE maimai2_user_playlog SET ext_num4=0;

-- maimai2_user_detail
ALTER TABLE maimai2_user_detail ADD COLUMN current_play_count INTEGER;
ALTER TABLE maimai2_user_detail ADD COLUMN rename_credit INTEGER;
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
-- maimai2_user_playlog
ALTER TABLE maimai2_user_playlog ADD COLUMN ext_bool1 BOOLEAN;
ALTER TABLE maimai2_user_playlog ADD COLUMN ext_num4 INTEGER;
UPDATE maimai2_user_playlog SET ext_num4=0;

-- maimai2_user_detail
ALTER TABLE maimai2_user_detail ADD COLUMN current_play_count INTEGER;
ALTER TABLE maimai2_user_detail ADD COLUMN rename_credit INTEGER;
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
-- maimai2_user_playlog
ALTER TABLE maimai2_user_playlog ADD COLUMN ext_bool1 BOOLEAN;
ALTER TABLE maimai2_user_playlog ADD COLUMN ext_num4 INTEGER;
UPDATE maimai2_user_playlog SET ext_num4=0;

-- maimai2_user_detail
ALTER TABLE maimai2_user_detail ADD COLUMN current_play_count INTEGER;
ALTER TABLE maimai2_user_detail ADD COLUMN rename_credit INTEGER;

0 comments on commit 759519d

Please sign in to comment.