summaryrefslogtreecommitdiff
path: root/lib/gitlab/reference_extractor.rb
diff options
context:
space:
mode:
authorDrew Blessing <drew@gitlab.com>2016-02-13 13:39:51 -0600
committerDrew Blessing <drew@gitlab.com>2016-02-25 14:53:47 -0600
commit4be6bd5b7a2421a48375e11ca33f5fe2228c6acb (patch)
tree591f25ebdb3470f99d7deab7088bc79735ad821d /lib/gitlab/reference_extractor.rb
parent8d3e5cf0db1aa811f2f9263092b8d7740acec5a6 (diff)
downloadgitlab-ce-8.5.1.DB.tar.gz
Reload the schema before restoring a database backupv8.5.1.TRv8.5.1.DB2v8.5.1.DBshow
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
Diffstat (limited to 'lib/gitlab/reference_extractor.rb')
0 files changed, 0 insertions, 0 deletions