Reputation: 3
I have some migration scripts in my db.migration folder that run on my default database server. I want to add a new migration script but i want it to be run on an entirely different server, without affecting the previous migration scripts.
Upvotes: 0
Views: 795
Reputation: 2155
You essentially need two separate configurations:
A.conf
, which also has the JDBC connection url for server A B.conf
flyway migrate -configFiles=A.conf
. This is fine even if you want the migration version numbers to run in one contiguous sequence.
Upvotes: 2