Gradle task to generate Flyway Database migration file

Flyway is a great tool to manage your database migrations. You can create incremental database migrations which will be applied on database. The concept is similar to Rails ActiveRecord migrations But unlike Rails ActiveRecord migrations, there is no built in create migration file feature present in Flyway Gradle plugin and it is not a priority for plugin developers. I have created following custom Gradle task to generate flyway db migration file....

August 18, 2018 · Dinesh Sawant