Comments (3)
Seems as if the interpretation of MigrationVersion.CURRENT is not right. We initialize this as "current" which results in no migration. If we initialise it as LATEST, we get a migration. I believe it is related to this bug: flyway/flyway#1919
from flyway-sbt.
Works as designed. If target == CURRENT it means you do not want to migrate to anything newer than what is already there.
from flyway-sbt.
I don't really get that. Fortunately, the defaults in the Flyway config object work great. I'll add enough code to pass through a string containing the target version to config.setTargetAsString() and we will have a clean solution.
from flyway-sbt.
Related Issues (20)
- add support for sbt cross versions HOT 1
- Move documentation to the docs sub directory of this repo and publish from there. HOT 1
- How to make migration task fail for missing migrations? HOT 4
- flywayInfo doesn't log anything? HOT 3
- Update flyway to 5.2.4 HOT 1
- Unable to resolve location classpath:db/migration HOT 5
- Bump flyway to 6.0.7 HOT 1
- H2 support removed by mistake? #2467 HOT 1
- Use scala-steward? HOT 1
- Not able to run command line options in sbt shell
- flyway-sbt version 6.1.4 not found
- Fly way sbt not working when sbt.version in project/build.properties is 1.2.8 HOT 1
- How to use environment variables on sbt flyway plugin? HOT 1
- Missing Tasks
- Version 6.4.3 is not available on maven central HOT 1
- Update to Flyway 6.5.7 HOT 2
- New releases HOT 4
- Add support for FLYWAY_CONFIG_FILES option in build.sbt HOT 1
- Update to latest Flyway version (9.22.0) HOT 1
- Add repo to scala-steward
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flyway-sbt.