nixys / nxs-data-anonymizer

A tool for anonymizing PostgreSQL and MySQL databases' dump
Apache License 2.0
233 stars 10 forks source link

Improve handling of columns with just a type but no options #31

Open eeggenberger opened 4 months ago

eeggenberger commented 4 months ago

I think this should fix #30. Instead of just skipping the type mapping etc. if IndexAny returns -1, I set i to the length of the string, and continue with that.

This is the first time I'm doing something with Go, so go easy on me ;-)