We are not using Flyway yet, but I am researching it now in the hopes of implementing it in the next few months.
We would like to have the application run the migration check at startup. However we have two different apps working together in the same database, and multiple instances of each. my hope is that the first one through the gate will add a Pending record to the history table and the others will not also try to upgrade seeing that.
Is that a realistic expectation?
Can we rely on that mechanism?
How do others handle this?
Thanks.