How to build flyway java-based migrations
Make sure your .class file is in a db/migration directory inside your .jar file file and that your .jar file is placed in the /jars directory of your Flyway installations.
flyway.locations should also be set to db.migration,filesystem:/home/........./sql/migrations