Test: 本家に戻ってから再びkmyblueを導入したときのテスト (#474)
* Test: 本家に戻ってから再びkmyblueを導入したときのテスト * Fix test * Fix test * Fix
This commit is contained in:
parent
537f49e816
commit
77843c0bdc
2 changed files with 95 additions and 3 deletions
|
@ -7,9 +7,11 @@ namespace :dangerous do
|
|||
|
||||
prompt = TTY::Prompt.new
|
||||
|
||||
exit(0) unless prompt.yes?('[1/3] Do you really want to go back to the original Mastodon?', default: false)
|
||||
exit(0) unless prompt.yes?('[2/3] All proprietary data of kmyblue will be deleted and cannot be restored. Are you sure?', default: false)
|
||||
exit(0) unless prompt.yes?('[3/3] This operation is irreversible. You have backups in case this operation causes a system malfunction, do you not?', default: false)
|
||||
unless ENV['BACK_UPSTREAM_FORCE']
|
||||
exit(0) unless prompt.yes?('[1/3] Do you really want to go back to the original Mastodon?', default: false)
|
||||
exit(0) unless prompt.yes?('[2/3] All proprietary data of kmyblue will be deleted and cannot be restored. Are you sure?', default: false)
|
||||
exit(0) unless prompt.yes?('[3/3] This operation is irreversible. You have backups in case this operation causes a system malfunction, do you not?', default: false)
|
||||
end
|
||||
|
||||
target_migrations = %w(
|
||||
20231022074913
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue