nkonev / r2dbc-migrate

R2DBC database migration library
https://nkonev.name/post/136
Apache License 2.0
98 stars 9 forks source link

Support repeatable migration. #9

Open YixingCheng opened 4 years ago

YixingCheng commented 4 years ago

Hi Nikita, Thanks for making this handy tool. One feature I would like to have in this tool is the support for Repeatable migration in flyway. Currently when I have a R__xxx.sql, I am getting

   Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'r2dbcMigrate' defined in class path resource [name/nkonev/r2dbc/migrate/autoconfigure/R2dbcMigrateAutoConfiguration.class]: Invocation of init method failed; nested exception is java.lang.NumberFormatException: For input string: "R"

I am using the latest release.

nkonev commented 4 years ago

Hello @YixingCheng repeatable migrations (in Flyway definition) requires checksums. This tool currently doesn't support checksums.

PRs are welcome