change the type of migration file index from Integer to Long, then it will work correctly with the file name like v20180702122300__xxxx.sql.
set case-insensitive for the pattern of migration file name. The default value of sqlMigrationPrefix of Flyway is V, but the file name pattern(FILENAME_PATTERN) wants v always.
Integer
toLong
, then it will work correctly with the file name like v20180702122300__xxxx.sql.sqlMigrationPrefix
ofFlyway
is V, but the file name pattern(FILENAME_PATTERN
) wants v always.