feat(schema-diff): support multiple table exclusion rules

This commit is contained in:
OOMEcho authored and GitHub committed 2026-09-30 19:48:53 +08:00
1 parent 5433f067d7
commit 3ffff92c8f
5 files changed
+122 -7

No files matched your search

+2 -2
View File
@@ -7725,11 +7725,11 @@ export default {
tableFilterHelp: "Table filter help",
tableFilterHelpRule: "Matches full table names. Do not type /.../.",
tableFilterHelpBlank: "Blank include means all tables. Blank skip means no exclusions.",
tableFilterHelpExample: "^user_ means starts with user_; _bak$ means ends with _bak; a|b means a or b.",
tableFilterHelpExample: "^user_ means starts with user_; _bak$ means ends with _bak; a|b means a or b. Separate skip rules with commas; escape a literal comma as \\,.",
tableIncludePattern: "Only compare matched tables",
tableIncludePatternPlaceholder: "e.g. ^user_",
tableExcludePattern: "Skip matched tables",
tableExcludePatternPlaceholder: "e.g. _bak$",
tableExcludePatternPlaceholder: "Comma-separated rules, e.g. ^im_, ^ib_, log$",
tableFilterPriority: "When both match",
tableFilterPriorityExclude: "Exclude wins",
tableFilterPriorityInclude: "Include wins",
+2 -2
View File
@@ -7691,11 +7691,11 @@ export default withEnglishFallback({
tableFilterHelp: "表名过滤说明",
tableFilterHelpRule: "匹配完整表名,不用写 /.../。",
tableFilterHelpBlank: "只比较为空表示全部表;跳过为空表示不排除。",
tableFilterHelpExample: "^user_ 表示 user_ 开头;_bak$ 表示 _bak 结尾;a|b 表示 a 或 b。",
tableFilterHelpExample: "^user_ 表示 user_ 开头;_bak$ 表示 _bak 结尾;a|b 表示 a 或 b。多个跳过规则用逗号分隔,匹配逗号本身请写 \\,。",
tableIncludePattern: "只比较匹配的表",
tableIncludePatternPlaceholder: "如 ^user_",
tableExcludePattern: "跳过匹配的表",
tableExcludePatternPlaceholder: "如 _bak$",
tableExcludePatternPlaceholder: "多个规则用逗号分隔,如 ^im_, ^ib_, log$",
tableFilterPriority: "同时匹配时",
tableFilterPriorityExclude: "排除优先",
tableFilterPriorityInclude: "包含优先",