Is drizzle able to help ensure data parity between multiple environments? #2973
Unanswered
tylersayshi
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Let's say for example that I have a prod and dev environment. They both have the same schema, but I made a mistake in the dev environment and I would like to "reset" all of the data in my dev db with exactly what is in prod.
In a super simple use case I could write a script that deletes everything from dev and then ingests what is in prod. This gets orders of magnitude more difficult to do correctly when constraints exist on some of my table such that the order of insertion is more difficult to satisfy each of these constraints.
This seems like a kind of thing that drizzle kit could potentially help with, but I have not been able to find anything in the docs targeting this use case just yet.
Am I right in thinking this is something drizzle could help with? If not, what might be an alternative way to solve this?
Beta Was this translation helpful? Give feedback.
All reactions