ソースを参照

fix(self-check): 重命名迁移编号 269/270 → 273/274,避免与 run() 主流程 innate portrait 迁移冲突

iwt 2 週間 前
コミット
d7847591e2

+ 2 - 2
cfc-backend/src/main/java/com/etotem/cfc/config/DatabaseInitializer.java

@@ -9501,10 +9501,10 @@ public class DatabaseInitializer implements CommandLineRunner {
         // 迁移268: coupon 表添加 status 列(优惠券停用/启用)
         // 迁移268: coupon 表添加 status 列(优惠券停用/启用)
         migrateCouponStatus();
         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,...]'");
         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 {
         try {
             jdbcTemplate.execute("CREATE TABLE IF NOT EXISTS self_check_ignores (" +
             jdbcTemplate.execute("CREATE TABLE IF NOT EXISTS self_check_ignores (" +
                     "id BIGINT AUTO_INCREMENT PRIMARY KEY, " +
                     "id BIGINT AUTO_INCREMENT PRIMARY KEY, " +