4 lines
317 B
SQL
4 lines
317 B
SQL
-- 为 report_section_references 增加 template_id,按模板过滤参考范文
|
||
ALTER TABLE report_section_references ADD COLUMN template_id VARCHAR(64) NULL COMMENT '关联模板ID(report_templates.id),按模板过滤参考范文';
|
||
CREATE INDEX idx_ref_template_id ON report_section_references(template_id);
|