From 377dd548bad3777a6f8f1d958c78cb147ee28fa8 Mon Sep 17 00:00:00 2001 From: luowei Date: Fri, 25 Aug 2023 14:43:09 +0800 Subject: [PATCH 1/2] use uppercase --- sqle/driver/mysql/rule/rule.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sqle/driver/mysql/rule/rule.go b/sqle/driver/mysql/rule/rule.go index 2de8d7be99..409e230e0f 100644 --- a/sqle/driver/mysql/rule/rule.go +++ b/sqle/driver/mysql/rule/rule.go @@ -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_", From 5cb829df0524d2305ead15c40037853ee58ead7b Mon Sep 17 00:00:00 2001 From: luowei Date: Fri, 25 Aug 2023 14:50:01 +0800 Subject: [PATCH 2/2] change description --- sqle/driver/mysql/rule/rule.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sqle/driver/mysql/rule/rule.go b/sqle/driver/mysql/rule/rule.go index 409e230e0f..7234e237c6 100644 --- a/sqle/driver/mysql/rule/rule.go +++ b/sqle/driver/mysql/rule/rule.go @@ -1859,7 +1859,7 @@ var RuleHandlers = []RuleHandler{ ¶ms.Param{ Key: DefaultSingleParamKeyName, Value: "2", - Desc: "主键应当不超过多少列", + Desc: "最大列数", Type: params.ParamTypeInt, }, },