-- 为诊单表添加舌苔照片和检查报告字段
ALTER TABLE `tcm_diagnosis` ADD COLUMN `tongue_photo` VARCHAR(500) COMMENT '舌苔照片URL' AFTER `tongue_coating`;
ALTER TABLE `tcm_diagnosis` ADD COLUMN `examination_report` LONGTEXT COMMENT '检查报告图片URL列表(逗号分隔)' AFTER `tongue_photo`;

-- 添加索引以提高查询性能
ALTER TABLE `tcm_diagnosis` ADD INDEX `idx_tongue_photo` (`tongue_photo`);
