mirror of https://github.com/hykilpikonna/AquaDX
[-] Remove version
parent
e537e0f115
commit
4dbb287e11
|
@ -142,7 +142,6 @@ class WcUserPlayLog : WaccaUserEntity() {
|
||||||
|
|
||||||
@Entity @Table(name = "wacca_user_stageup", uniqueConstraints = [UC("", ["user_id", "stage_id"])])
|
@Entity @Table(name = "wacca_user_stageup", uniqueConstraints = [UC("", ["user_id", "stage_id"])])
|
||||||
class WcUserStageUp : WaccaUserEntity() {
|
class WcUserStageUp : WaccaUserEntity() {
|
||||||
var version = 0
|
|
||||||
var stageId = 0
|
var stageId = 0
|
||||||
var clearStatus = 0
|
var clearStatus = 0
|
||||||
var clearSongCt = 0
|
var clearSongCt = 0
|
||||||
|
|
|
@ -172,14 +172,13 @@ create table wacca_user_stageup
|
||||||
id bigint auto_increment
|
id bigint auto_increment
|
||||||
primary key,
|
primary key,
|
||||||
user_id bigint not null,
|
user_id bigint not null,
|
||||||
version int not null,
|
|
||||||
stage_id int not null,
|
stage_id int not null,
|
||||||
clear_status int not null,
|
clear_status int not null,
|
||||||
clear_song_ct int not null,
|
clear_song_ct int not null,
|
||||||
song_scores varchar(255) not null,
|
song_scores varchar(255) not null,
|
||||||
play_ct int not null,
|
play_ct int not null,
|
||||||
constraint wacca_user_stageup_unique
|
constraint wacca_user_stageup_unique
|
||||||
unique (user_id, version, stage_id),
|
unique (user_id, stage_id),
|
||||||
constraint fku_wacca_user_stageup
|
constraint fku_wacca_user_stageup
|
||||||
foreign key (user_id) references wacca_user (id)
|
foreign key (user_id) references wacca_user (id)
|
||||||
on update cascade on delete cascade
|
on update cascade on delete cascade
|
||||||
|
|
Loading…
Reference in New Issue