Reputation: 9157
I couldn't find this in the docs (and am too lazy to read the code) - does Flyway CL use a single connection for the entire task, including callbacks?
Specifically, I'd like to know if I can use beforeMigrate
(or beforeEachMigrate
) to set database session parameters.
Upvotes: 0
Views: 98
Reputation: 35169
Two connections: one for the metadata table and one for the migrations. So yes, your assumption should work.
Upvotes: 1