Merge branch 'drop_db_before_restore' into 'master'
Reload the schema before restoring a database backup
If a user tries to downgrade and restore after a failed upgrade,
the database may still contain newer tables. Reload the older
schema before restoring the database to avoid future upgrade
problems. Also, add a rake task to help users add migration
versions to the database so it's easier to recover from these
errors if they do occur. Fixes #13419
See merge request !2807
Showing
doc/update/restore_after_failure.md
0 → 100644
lib/tasks/gitlab/db.rake
0 → 100644
Please
register
or
sign in
to comment