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

Print warnings when there is a skipped migration or a missing migration script #125

Merged
merged 1 commit into from Aug 9, 2018

Conversation

Projects
None yet
1 participant
@harawata
Member

harawata commented Aug 8, 2018

On up/down operation, Migrations will print warnings if...

  • there is a migration script that 1) is not applied to the database and 2) has a lower ID than the latest applied migration (= skipped migration).
  • there is an entry in the changelog table which has no corresponding script file in the scripts directory (= missing script).

This should fix #123 .

@harawata harawata added the enhancement label Aug 8, 2018

@harawata harawata added this to the 3.3.5 milestone Aug 8, 2018

@harawata harawata self-assigned this Aug 8, 2018

@harawata harawata merged commit 6007324 into mybatis:master Aug 9, 2018

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment