Fix restore warning message
This commit is contained in:
parent
3b33cbb211
commit
3ce174c370
|
@ -20,6 +20,7 @@ v 8.10.0 (unreleased)
|
|||
|
||||
v 8.9.3 (unreleased)
|
||||
- Decreased min width of screen to 1280px for pinned sidebar
|
||||
- Fix restore Rake task warning message output !4980
|
||||
- Fix encrypted data backwards compatibility after upgrading attr_encrypted gem
|
||||
- Update mobile button icons to be more inline with typical UI paradigms
|
||||
|
||||
|
|
|
@ -33,12 +33,13 @@ namespace :gitlab do
|
|||
|
||||
unless backup.skipped?('db')
|
||||
unless ENV['force'] == 'yes'
|
||||
warning = warning = <<-MSG.strip_heredoc
|
||||
warning = <<-MSG.strip_heredoc
|
||||
Before restoring the database we recommend removing all existing
|
||||
tables to avoid future upgrade problems. Be aware that if you have
|
||||
custom tables in the GitLab database these tables and all data will be
|
||||
removed.
|
||||
MSG
|
||||
puts warning.color(:red)
|
||||
ask_to_continue
|
||||
puts 'Removing all tables. Press `Ctrl-C` within 5 seconds to abort'.color(:yellow)
|
||||
sleep(5)
|
||||
|
|
Loading…
Reference in New Issue