Giter Site home page Giter Site logo

grails-flyway's Introduction

Hello ๐Ÿ‘‹๐Ÿป,

My name is Silvio. I'm a software developer and architect working in Zurich, Switzerland. I'm a co-founder of onstructive.

GitHub Twitter StackOverflow

saw303's GitHub Stats

grails-flyway's People

Contributors

burtbeckwith avatar cristian-rita avatar saw303 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

grails-flyway's Issues

Upgrade to Flyway 5.x

It would be nice if the plugin were tested with Flyway 5.x and declared a transitive dependency on Flyway 5.x.

Adding the following dependency to build.gradle seems to be working, but I've done minimal testing.

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

flyway runs after db schema validation in grails 3.3

While upgrading our app to grails 3.3.11 we noticed that flyway runs after the db schema validation now.
After some googling we found this grails issue and also your SO question. From there it looks like this has been fixed in grails 3.3.1, but for us the db schema validation still runs before flyway migration. So the patches from the github issue don't seem to fix the issue. We also tried grails 3.3.1 but same issue there.

I just debugged some more and it looks like the code in GrailsFlywayGrailsPlugin#doWithSpring is executed first, then db schema validation happens (via SchemaManagementToolCoordinator) and last the Flyway constructor is called.

Any ideas?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.