Qovery / Replibyte

Seed your development database with real data ⚡️
https://www.replibyte.com
GNU General Public License v3.0
4.18k stars 129 forks source link

feat(destination): add ability to disable schema wipe #148

Closed 2Kable closed 2 years ago

2Kable commented 2 years ago

Feature

This pr had the ability, for a user, to disable the public schema wipe, that was done by default. In our case, we didn't want to touch the public schema

This is a non-breaking change

evoxmusic commented 2 years ago

Hi @2Kable , thank you for this PR - it's a valid one and really useful indeed. Can you:

  1. Implement this feature for MongoDB and MySQL (we try to keep options consistent across sources)
  2. Add a test to validate that with the wipe_database = true and wipe_database = false options it will work as expected.
2Kable commented 2 years ago

I separated the fix included in this PR in order to take time to work on adding this feature to all the destination