mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-02-05 02:47:58 +08:00
[chusan,maimai2] Fix MySQL 8.0 syntax error
Since Mysql 8.0.6, "rank" is a reserved keyword
This commit is contained in:
@@ -76,6 +76,7 @@ public class UserPlaylog implements Serializable {
|
||||
|
||||
private int score;
|
||||
|
||||
@Column(name = "\"rank\"")
|
||||
private int rank;
|
||||
|
||||
private int maxCombo;
|
||||
|
||||
@@ -78,6 +78,7 @@ public class UserPlaylog implements Serializable {
|
||||
|
||||
private int score;
|
||||
|
||||
@Column(name = "\"rank\"")
|
||||
private int rank;
|
||||
|
||||
private int maxCombo;
|
||||
|
||||
@@ -31,6 +31,7 @@ public class UserFriendSeasonRanking implements Serializable {
|
||||
|
||||
private int seasonId;
|
||||
private int point;
|
||||
@Column(name = "\"rank\"")
|
||||
private int rank;
|
||||
private boolean rewardGet;
|
||||
private String userName;
|
||||
|
||||
Reference in New Issue
Block a user