Skip to content

Commit

Permalink
fix: forbiddenRules
Browse files Browse the repository at this point in the history
  • Loading branch information
littleniannian committed Nov 27, 2024
1 parent 4f9e557 commit 8bca213
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions sqle/model/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 8bca213

Please sign in to comment.