Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 1741 #1757

Merged
merged 2 commits into from
Aug 25, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions sqle/driver/mysql/rule/rule.go
Original file line number Diff line number Diff line change
Expand Up @@ -868,7 +868,7 @@ var RuleHandlers = []RuleHandler{
Rule: driverV2.Rule{
Name: DDLCheckUniqueIndexPrefix,
Desc: "UNIQUE索引必须使用固定前缀",
Annotation: "通过配置该规则可以规范指定业务的unique索引命名规则,具体命名规范可以自定义设置,默认提示值:uniq_",
Annotation: "通过配置该规则可以规范指定业务的UNIQUE索引命名规则,具体命名规范可以自定义设置,默认提示值:uniq_",
Level: driverV2.RuleLevelError,
Category: RuleTypeNamingConvention,
//Value: "uniq_",
Expand Down Expand Up @@ -1859,7 +1859,7 @@ var RuleHandlers = []RuleHandler{
&params.Param{
Key: DefaultSingleParamKeyName,
Value: "2",
Desc: "主键应当不超过多少列",
Desc: "最大列数",
Type: params.ParamTypeInt,
},
},
Expand Down
Loading