forked from Dniel97/artemis
Merge pull request 'chuni: add missing columns for course mode' (#8) from Raymonf/artemis:fix/chuni-course-mode into develop
Reviewed-on: Hay1tsme/artemis#8
This commit is contained in:
commit
447743da4c
1
core/data/schema/versions/SDBT_2_rollback.sql
Normal file
1
core/data/schema/versions/SDBT_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/SDBT_3_upgrade.sql
Normal file
1
core/data/schema/versions/SDBT_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