diff --git a/internal/config.go b/internal/config.go index 5ce20b7..6e9e6d8 100644 --- a/internal/config.go +++ b/internal/config.go @@ -61,7 +61,7 @@ func (cfg *Config) CheckMatchTables(name string) bool { // CheckMatchIgnoreTables check table_Ignore is match func (cfg *Config) CheckMatchIgnoreTables(name string) bool { if len(cfg.TablesIGNORE) == 0 { - return true + return false } for _, tableName := range cfg.TablesIGNORE { if simpleMatch(tableName, name, "CheckMatchTables") { diff --git a/main.go b/main.go index 8862b8f..ac5280c 100644 --- a/main.go +++ b/main.go @@ -7,7 +7,7 @@ import ( "os" "strings" - "github.com/hidu/mysql-schema-sync/internal" + "github.com/loxp/mysql-schema-sync/internal" ) var configPath = flag.String("conf", "./config.json", "json config file path")