elgentos/masquerade

Skip if table does not exist

Closed this issue · 5 comments

uznog commented

Hello,

is skipping not existing tables possible? I can see #11 resolved non-existing columns issue, but it would be great not to fail when the specific table isn't present (i.e. with a cmd flag switch?)

uznog commented

That's correct, although it will just skip the table. What I'd like to achieve is to have table's anonymization configured in yaml, but used when table exists and skipped otherwise. It would be nice to have one set of configs with any possible tables for anonymization process, as some clients use different modules - schemas differ between various clients' databases.

Ok I'm open to PR's :)

Done in 0.2.4 :)

Also see #65, I'd love to hear your thoughts on this.