dvarrazzo / pg_seldump

PostgreSQL selective data dump
Other
13 stars 3 forks source link

Integrate with Faker #7

Open dvarrazzo opened 2 years ago

dvarrazzo commented 2 years ago

Define how to replace certain fields with likely fields with random values (e.g. email. phone numbers, etc.)

https://faker.readthedocs.io/

dvarrazzo commented 1 year ago

Note: it would be good the randomness would be repeatable, given the same table name and pkey. So that fake_name(table="customers", id=123) always returned "John Doe".