Domanda

I'd like to start using a flyway to keep our different db environments synced.

The problem I have is that we can't align all the environments using a Prod dump on test and dev since our Prod env contains sensitive data that testers and developers can't access.

I understand that to start using flyway on an existing environment the steps are:

  1. Create Prod dump
  2. Execute Flyway Init
  3. Align Test with prod dump
  4. Execute Flyway Clean on Dev
  5. Execute prod dump on Dev
  6. Start using flyway migration normaly

I based on Axel Fontaine's video on minute 32:00 maybe there is another way to achieve this. So the question is how can I do to use flyway without using a production dump? Any help or idea?

È stato utile?

Soluzione

As as I said in the talk, dump the structure and the reference data. These are the things you will be managing using Flyway. The application data doesn't need to be dumped.

What you want is the structure and the reference data to be in sync, not the application data.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top