mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 09:42:09 -04:00
Show columns to update in CLI interface
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
parent
11894a82e7
commit
5322de3fec
1 changed files with 5 additions and 1 deletions
|
|
@ -79,7 +79,7 @@ class ConvertFilecacheBigInt extends Command {
|
|||
$column->setType(Type::getType(Type::BIGINT));
|
||||
$column->setOptions(['length' => 20]);
|
||||
|
||||
$updates[] = $tableName . '.' . $columnName;
|
||||
$updates[] = '* ' . $tableName . '.' . $columnName;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -89,6 +89,10 @@ class ConvertFilecacheBigInt extends Command {
|
|||
return 0;
|
||||
}
|
||||
|
||||
$output->writeln('<comment>Following columns will be updated:</comment>');
|
||||
$output->writeln('');
|
||||
$output->writeln($updates);
|
||||
$output->writeln('');
|
||||
$output->writeln('<comment>This can take up to hours, depending on the number of files in your instance!</comment>');
|
||||
|
||||
if ($input->isInteractive()) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue