1
0
mirror of synced 2024-11-28 07:50:48 +01:00

Merge pull request 'chuni: add missing columns for course mode' (#8) from Raymonf/artemis:fix/chuni-course-mode into develop

Reviewed-on: https://gitea.tendokyu.moe/Hay1tsme/artemis/pulls/8
This commit is contained in:
Midorica 2023-03-02 01:05:55 +00:00
commit 447743da4c
5 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("param3", Integer),
Column("param4", Integer), Column("param4", Integer),
Column("isClear", Boolean), Column("isClear", Boolean),
Column("theoryCount", Integer),
Column("orderId", Integer),
Column("playerRating", Integer),
UniqueConstraint("user", "courseId", name="chuni_score_course_uk"), UniqueConstraint("user", "courseId", name="chuni_score_course_uk"),
mysql_charset='utf8mb4' mysql_charset='utf8mb4'
) )