Compare commits
3 Commits
e98a7c8ae0
...
447743da4c
Author | SHA1 | Date | |
---|---|---|---|
447743da4c | |||
b0bf151c9f | |||
97aeba20e5 |
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