chuni: add missing columns for course mode

This commit is contained in:
Raymonf 2023-03-01 16:08:36 -05:00
parent e98a7c8ae0
commit 97aeba20e5
Signed by untrusted user: Raymonf
GPG Key ID: 438459BF619B037A
3 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1 @@
ALTER TABLE chuni_score_course DROP COLUMN theoryCount, DROP COLUMN orderId, DROP COLUMN playerRating;

View File

@ -0,0 +1 @@
ALTER TABLE chuni_score_course ADD theoryCount int(11), ADD orderId int(11), ADD playerRating int(11);

View File

@ -29,6 +29,9 @@ course = Table(
Column("param3", Integer),
Column("param4", Integer),
Column("isClear", Boolean),
Column("theoryCount", Integer),
Column("orderId", Integer),
Column("playerRating", Integer),
UniqueConstraint("user", "courseId", name="chuni_score_course_uk"),
mysql_charset='utf8mb4'
)