新增 §9.5 评审,10 项问题(N–W): - N: sys_config 全局唯一约束修复(NULL != NULL 问题,改为两个局部唯一索引) - O: annotation_result 新增 UNIQUE(task_id) - P: training_dataset.export_batch_id 改为 BIGINT FK - Q: 全部枚举字段添加 CHECK 约束(role/status/phase/task_type) - R: annotation_task_history 补充 operator_name 快照字段 - S: annotation_task 新增 (company_id, source_id) 索引 - T: training_dataset 新增 task_id 索引 - U: sys_user 补充 created_by 字段 - V: source_data 补充 mime_type 字段 - W: 新增 set_updated_at() 触发器,覆盖全部有 updated_at 的表 附:DDL 修复补丁(ALTER TABLE + 触发器),可直接在开发库执行