Skip to content

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

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

Merged
merged 1 commit into from
Aug 9, 2018

Conversation

harawata
Copy link
Member

@harawata 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 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Skipped installation gives result as success. Can it be changed to 'Failure' or at-least a Warning message?
1 participant