-
Notifications
You must be signed in to change notification settings - Fork 3k
New flyway start property: quarkus.flyway.clean-at-start #5697
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Related to the issue #4232 |
Looks like you have some unrelated additional commits in this PR. Can you rebase or cherry-pick just the bb8d861 commit? Thanks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added some comments.
integration-tests/flyway/src/test/java/io/quarkus/it/flyway/FlywayFunctionalityTest.java
Outdated
Show resolved
Hide resolved
.../flyway/deployment/src/test/java/io/quarkus/flyway/test/FlywayExtensionCleanAtStartTest.java
Outdated
Show resolved
Hide resolved
...ployment/src/test/java/io/quarkus/flyway/test/FlywayExtensionCleanAndMigrateAtStartTest.java
Outdated
Show resolved
Hide resolved
...ployment/src/test/java/io/quarkus/flyway/test/FlywayExtensionCleanAndMigrateAtStartTest.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's wait for the multiple datasource support being merged before considering merging this one.
I have plans to review it early next week.
Sorry, but it is still not rebased properly. In your branch, do |
Ah looks like your master branch is used in this PR. It's easier if you provide a PR from a separate branch |
public void testFlywayQuarkusFunctionality() { | ||
when().get("/flyway/migrate").then().body(is("1.0.1")); | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this line break necessary?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm using Quarkus Code Style and before Commit, I run "mvn clean install" comands to format the code corretly
"Version is null! Migration was not applied"); | ||
return version.toString(); | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this line break necessary?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm using Quarkus Code Style and before Commit, I run "mvn clean install" comands to format the code corretly
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, sorry for being too picky. Good job!
@gastaldi . Thank's your patience, it's my first PR in a open source project |
I won't have the time to get the multiple datasource support in and this one looks valuable so I'm getting this one in. |
Merged, thanks! |
No description provided.