evoToK3Cloud/script/sql/update/ding-scheme-application-alter-form-label-map.sql
2026-05-18 10:56:56 +08:00

10 lines
533 B
SQL
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

-- 已有表 ding_scheme_application 时按需执行(列已存在会报错,请跳过)
-- 1中文名映射与 wf_values_json 的 key 均为控件 id
ALTER TABLE ding_scheme_application
ADD COLUMN form_label_map MEDIUMTEXT NULL COMMENT '控件 id -> 中文 nameJSON' AFTER form_json;
-- 2宽表单值 JSON替代数百个 wf_* 物理列,避免 InnoDB 1118
ALTER TABLE ding_scheme_application
ADD COLUMN wf_values_json LONGTEXT NULL COMMENT '控件 id -> {value,ext} JSON' AFTER form_label_map;