realrolfje / anonimatron

Anonimatron. Providing GDPR compliance since 2010.
https://realrolfje.github.io/anonimatron/
MIT License
105 stars 51 forks source link

Truncating DB tables supported? #4

Closed ShubhankitRoy closed 7 years ago

ShubhankitRoy commented 8 years ago

Hi Rolf

Is there a way to truncate some DB tables or will this require a custom anonymizer type to be implemented?

realrolfje commented 8 years ago

Anonimatron currently does not support truncating of tables. Anonymizers are not designed to connect to the database. The best way to truncate tables before the anonymization run is to build a script that truncates the tables before calling anonimatron.