Show columns to update in CLI interface
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
parent
faa988c099
commit
d3b4127164
|
@ -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 New Issue