Upgrade flyway to 3.0

Fixes gh-771