I upgraded flyway from 4.0.3 to 6.1.4. After Upgrading , a script which has a function and that function is used and then dropped in the same script. This was working fine i