|
|
@@ -9501,10 +9501,10 @@ public class DatabaseInitializer implements CommandLineRunner {
|
|
|
// 迁移268: coupon 表添加 status 列(优惠券停用/启用)
|
|
|
migrateCouponStatus();
|
|
|
|
|
|
- // 迁移269: five_dimension_self_checks 表添加 question_ids_json 列(自检轮换用)
|
|
|
+ // 迁移273: five_dimension_self_checks 表添加 question_ids_json 列(自检轮换用)
|
|
|
ensureColumn("five_dimension_self_checks", "question_ids_json", "VARCHAR(255) COMMENT '本次自检使用的题号JSON: [1,5,9,...]'");
|
|
|
|
|
|
- // 迁移270: 创建 self_check_ignores 表(记录用户忽略自检提醒的动作,作为 15 天周期重置依据)
|
|
|
+ // 迁移274: 创建 self_check_ignores 表(记录用户忽略自检提醒的动作,作为 15 天周期重置依据)
|
|
|
try {
|
|
|
jdbcTemplate.execute("CREATE TABLE IF NOT EXISTS self_check_ignores (" +
|
|
|
"id BIGINT AUTO_INCREMENT PRIMARY KEY, " +
|