Files
tougao/sql/add_llm_fields_to_promotion_email_log.sql
2026-04-24 13:13:06 +08:00

8 lines
531 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.
-- 为 t_promotion_email_log 增加 LLM 生成字段
-- llm_description: 大模型生成的个性化描述(用于模板变量 {{llm_description}}
-- llm_status: 0=未处理 1=成功 2=失败已回退兜底 3=跳过(缺代表作)
ALTER TABLE `t_promotion_email_log`
ADD COLUMN `llm_description` TEXT NULL COMMENT '大模型生成的个性化描述' AFTER `body_prepared`,
ADD COLUMN `llm_status` TINYINT NOT NULL DEFAULT 0 COMMENT 'LLM 处理状态: 0未处理 1成功 2失败兜底 3跳过' AFTER `llm_description`;