From 8bca213211859f5b9634b68a57dfaa9044e263cf Mon Sep 17 00:00:00 2001 From: yuanjiawei Date: Wed, 27 Nov 2024 11:13:18 +0800 Subject: [PATCH] fix: forbiddenRules --- sqle/model/utils.go | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/sqle/model/utils.go b/sqle/model/utils.go index 5d8e33bc3..74e6ebb27 100644 --- a/sqle/model/utils.go +++ b/sqle/model/utils.go @@ -469,18 +469,18 @@ var forbiddenRules = map[string]bool{ "MySQL_" + mysqlRule.ConfigOptimizeIndexEnabled: true, "MySQL_" + mysqlRule.DDLCheckIndexOption: true, "MySQL_" + mysqlRule.DDLCheckCompositeIndexDistinction: true, - "Oracle_011": true, - "Oracle_012": true, - "Oracle_017": true, - "Oracle_019": true, - "Oracle_044": true, - "Oracle_046": true, - "Oracle_050": true, - "Oracle_077": true, - "Oracle_078": true, - "Oracle_080": true, - "SQL Server_ddl_check_index_count": true, - "SQL Server_ddl_check_index_column_with_blob": true, + "Oracle_Oracle_011": true, + "Oracle_Oracle_012": true, + "Oracle_Oracle_017": true, + "Oracle_Oracle_019": true, + "Oracle_Oracle_044": true, + "Oracle_Oracle_046": true, + "Oracle_Oracle_050": true, + "Oracle_Oracle_077": true, + "Oracle_Oracle_078": true, + "Oracle_Oracle_080": true, + "SQL Server_ddl_check_index_count": true, + "SQL Server_ddl_check_index_column_with_blob": true, } func (s *Storage) GetDefaultRuleTemplateName(dbType string) string {