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.
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.