Skip to content

规则:建议列与表使用同一个字符集在建表语句 误触发 #2833

Open
@winfredLIN

Description

@winfredLIN

版本信息(Version)

问题描述(Describe)

中包含JSON的时候,会把JSON的字符集认为是binary导致误触发规则

sql语句示例
CREATE TABLE `app_template` (
`id` BIGINT NOT NULL  ,
`template_id` VARCHAR(128) NOT NULL ,
`template` JSON NULL COMMENT '注释内容'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

截图或日志(Log)

如何复现(To Reproduce)

问题原因

解决方案

变更影响面

受影响的模块或功能

外部引用的潜在问题或风险

版本兼容性

测试建议

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions