microservices/sql/update/20231128152817_alert_cms_do...

7 lines
257 B
SQL
Raw Permalink 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.

-- 文章新增字段关联的仓库IssueId用于文章评论
SET FOREIGN_KEY_CHECKS = 0;
ALTER TABLE `cms_doc`
ADD COLUMN `issue_id` int(11) NULL DEFAULT NULL COMMENT '关联的仓库IssueId用于文章评论';
SET FOREIGN_KEY_CHECKS = 1;