diff options
author | Andreas Fischer <bantu@owncloud.com> | 2014-04-11 21:40:45 +0200 |
---|---|---|
committer | Andreas Fischer <bantu@owncloud.com> | 2014-04-11 21:40:45 +0200 |
commit | 731571491f04c9a836b5f413d13f67571f1fe0b9 (patch) | |
tree | 7568ce79f8dde3e9de4a4980d204063f57080acf /core | |
parent | 56b6504d59be62da618ad654e37faedb88f32242 (diff) | |
download | nextcloud-server-731571491f04c9a836b5f413d13f67571f1fe0b9.tar.gz nextcloud-server-731571491f04c9a836b5f413d13f67571f1fe0b9.zip |
Improve message about tables not going to be converted. Mention --all-apps option.
Diffstat (limited to 'core')
-rw-r--r-- | core/command/db/converttype.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/core/command/db/converttype.php b/core/command/db/converttype.php index 170145940d3..47e824a3b1b 100644 --- a/core/command/db/converttype.php +++ b/core/command/db/converttype.php @@ -131,7 +131,12 @@ class ConvertType extends Command { // warn/fail if there are more tables in 'from' database $tables = array_diff($fromTables, $toTables); if (!empty($tables)) { - $output->writeln('<error>The following tables do NOT exist any more: '.join(', ', $tables).'</error>'); + $output->writeln('<comment>The following tables will not be converted:</comment>'); + $output->writeln($tables); + if (!$input->getOption('all-apps')) { + $output->writeln('<comment>Please note that tables belonging to available but currently not installed apps</comment>'); + $output->writeln('<comment>can be included by specifying the --all-apps option.</comment>'); + } /** @var $dialog \Symfony\Component\Console\Helper\DialogHelper */ $dialog = $this->getHelperSet()->get('dialog'); if (!$dialog->askConfirmation( |