Share your experience with Database DevOps by taking part in the 2021 State of Database DevOps survey Take the survey

Community Plugins and Integrations: Grails

Grails 3.x is based on Spring Boot comes with out-of-the-box integration for Flyway.

All you need to do is add flyway-core to your build.gradle:

compile "org.flywaydb:flyway-core:7.3.0"

Spring Boot will then automatically autowire Flyway with its DataSource and invoke it on startup.

You can then configure a good number of Flyway properties directly from your or application.yml file.

Want to deploy your Grails 3 apps effortlessly to AWS? Follow our 5 minute tutorial using Boxfuse