nixys / nxs-data-anonymizer

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

Add regex capturing groups for column data types within the filters #35

Closed borisershov closed 3 months ago

borisershov commented 3 months ago

In some cases generating correct values for cells requires taking into attention the data type features of the corresponding column. For example ENUM data type in MySQL, which able to use cell values from described list. So you unable to generate random strings.

To solve the problem requires to add capturing groups for type's regexes that will be available as variables within the column filters.

borisershov commented 3 months ago

Done