Suppose that there are 3 databases for
- Production
- Staging
- Dev
As far as I know, Staging database need to be in sync with Production database But,
When we are developing, we can do whatever we want with Dev database and change schema. Now here comes the Chicken & Egg problem.
To test in Staging, Staging database schema need to be changed according to changes made in Dev database. But the Staging database need to be in sync with Production.
How do you guys get around this problem?