|
@@ -9020,8 +9020,8 @@ private void runMigration100() {
|
|
|
log.warn("创建user_notifications表失败: " + e.getMessage());
|
|
log.warn("创建user_notifications表失败: " + e.getMessage());
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- // 迁移237: task 表添加 member_only 字段(1=会员任务,仅方案/套餐生成)
|
|
|
|
|
- ensureColumn("task", "member_only", "TINYINT DEFAULT 0 COMMENT '1=会员任务(方案/套餐生成),执行需会员; 0=普通任务可免费执行'");
|
|
|
|
|
|
|
+ // 迁移237: tasks 表添加 member_only 字段(1=会员任务,仅方案/套餐生成)
|
|
|
|
|
+ ensureColumn("tasks", "member_only", "TINYINT DEFAULT 0 COMMENT '1=会员任务(方案/套餐生成),执行需会员; 0=普通任务可免费执行'");
|
|
|
|
|
|
|
|
// 迁移238: package_orders 表添加物流状态字段(试剂盒寄送/样本寄回)
|
|
// 迁移238: package_orders 表添加物流状态字段(试剂盒寄送/样本寄回)
|
|
|
ensureColumn("package_orders", "logistics_status", "VARCHAR(20) DEFAULT 'none' COMMENT 'none/kit_shipped/kit_received/sample_shipped/sample_received'");
|
|
ensureColumn("package_orders", "logistics_status", "VARCHAR(20) DEFAULT 'none' COMMENT 'none/kit_shipped/kit_received/sample_shipped/sample_received'");
|