gathering / unicorn-backend

Backend/API for UNICORN
https://competitions.gathering.org
MIT License
2 stars 1 forks source link

Generation of seed data for development and test #12

Open eriktm opened 3 years ago

eriktm commented 3 years ago

Proposed Functionality

There should be created a database dump based on the production database for use in beta and staging environments. This dump should be washed to remove all sensible information about users. This information should be manipulated in such a way that it can't be reversed, but it's length and format should be contained.
For example could ikke-ring-jo-emil@hello.world be formatted as felj-asdr-dk-opjk@sdbfk.dfmk.

Use Case

When creating new environments for testing, having actual data is quite useful. This prevents having to create new data every time a new environment is created.

Database Changes

None.

External Dependencies

None.