forked from Hay1tsme/artemis
chuni: add missing columns for course mode
This commit is contained in:
parent
e98a7c8ae0
commit
97aeba20e5
1
core/data/schema/versions/SDHD_2_rollback.sql
Normal file
1
core/data/schema/versions/SDHD_2_rollback.sql
Normal file
@ -0,0 +1 @@
|
|||||||
|
ALTER TABLE chuni_score_course DROP COLUMN theoryCount, DROP COLUMN orderId, DROP COLUMN playerRating;
|
1
core/data/schema/versions/SDHD_3_upgrade.sql
Normal file
1
core/data/schema/versions/SDHD_3_upgrade.sql
Normal file
@ -0,0 +1 @@
|
|||||||
|
ALTER TABLE chuni_score_course ADD theoryCount int(11), ADD orderId int(11), ADD playerRating int(11);
|
@ -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'
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user