[-] Remove version

pull/29/head
Azalea 2024-03-28 23:34:05 -04:00
parent e537e0f115
commit 4dbb287e11
2 changed files with 1 additions and 3 deletions

View File

@ -142,7 +142,6 @@ class WcUserPlayLog : WaccaUserEntity() {
@Entity @Table(name = "wacca_user_stageup", uniqueConstraints = [UC("", ["user_id", "stage_id"])])
class WcUserStageUp : WaccaUserEntity() {
var version = 0
var stageId = 0
var clearStatus = 0
var clearSongCt = 0

View File

@ -172,14 +172,13 @@ create table wacca_user_stageup
id bigint auto_increment
primary key,
user_id bigint not null,
version int not null,
stage_id int not null,
clear_status int not null,
clear_song_ct int not null,
song_scores varchar(255) not null,
play_ct int not null,
constraint wacca_user_stageup_unique
unique (user_id, version, stage_id),
unique (user_id, stage_id),
constraint fku_wacca_user_stageup
foreign key (user_id) references wacca_user (id)
on update cascade on delete cascade