hidu/mysql-schema-sync

CheckMatchIgnoreTables Bug?

ymakedaq opened this issue · 2 comments

func (cfg *Config) CheckMatchIgnoreTables(name string) bool {
	if len(cfg.TablesIGNORE) == 0 {
		return true  // ****should return false**** 
	}
	for _, tableName := range cfg.TablesIGNORE {
		if simpleMatch(tableName, name, "CheckMatchTables") {
			return true
		}
	}
	return false
}

sorry about that . please add config.json tables_ignore : ["a"] skip or clone my branch .

Got