Skip to content
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

Added confirmation/support for automatically rolling back to previous version #773

Merged
merged 3 commits into from
Aug 8, 2018

Commits on Aug 8, 2018

  1. Added support for automatically rolling back failed updates

    refs TryGhost#759
    
    - ask user if we wants to bring back previous version if
      - GhostError was thrown (migration failed)
      - if the user has not executed `ghost update --rollback`
    - show error to user so he knows why the update failed
    vikaspotluri123 authored and kirrg001 committed Aug 8, 2018
    Configuration menu
    Copy the full SHA
    7d76015 View commit details
    Browse the repository at this point in the history
  2. Optimised error handling in migrator task

    refs TryGhost#759
    
    - return a proper GhostError when migration fails
    - detect if knex-migrator can't find versions to rollback (resolve in this case)
    kirrg001 committed Aug 8, 2018
    Configuration menu
    Copy the full SHA
    9f8127f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a4b68ca View commit details
    Browse the repository at this point in the history