9.8版本更新web镜像注意事项

1. 时间:更新web镜像 2025-07-03 之后

1.1 执行以下两条SQL

alter table ding_talk_user
  add column agent_id varchar(128) null comment '钉钉机器人id',
  add column yd_user_id int(4) null comment 'bigviz_user_id';

alter table bigviz_user
  add column ding_talk_ids varchar(1024) null comment '钉钉id';

1.2 config文件

确保 /youdata/config/db2ramFieldMap.json 文件 ding_talk_user 已经包含新增字段,更新后需要重新启动 web 和 inner-web

9.8版本更新web镜像注意事项 - 图1

1.3 数据升级

进入 web 容器 /www/src/app/upgrade/version/9.8,按照下图修改 script.js 文件,执行 node script.js 输出 undefined 即升级成功

9.8版本更新web镜像注意事项 - 图2

2.时间:更新web镜像 2025-07-22 之后

1.1 执行SQL

alter table bookmark
  add column resource_type varchar(32) null default 'NEW_REPORT' comment '资源类型';


alter table dashboard_mail
  add column elec_table_export_detail_data tinyint(4) null comment '电子表格是否导出明细数据',
  add column append_bookmark_name tinyint(4) null comment '是否追加书签名称';