summaryrefslogtreecommitdiff
path: root/app/models/commit.rb
diff options
context:
space:
mode:
authorRobert Speicher <robert@gitlab.com>2016-03-22 16:24:55 +0000
committerRobert Speicher <robert@gitlab.com>2016-03-22 16:24:55 +0000
commit37093af6d6d5371a2930ea8aa6938d93e6c27949 (patch)
tree87c428825e29ee6e7b98bd806175b6e09662d18f /app/models/commit.rb
parent18c049886e0f9ad2d094f02483aea272d0e029fb (diff)
parent5516b6c47fa493cb792ffe501221fe397d1500ae (diff)
downloadgitlab-ce-37093af6d6d5371a2930ea8aa6938d93e6c27949.tar.gz
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
Diffstat (limited to 'app/models/commit.rb')
0 files changed, 0 insertions, 0 deletions