Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Show columns to update in CLI interface
Signed-off-by: Morris Jobke <[email protected]>
  • Loading branch information
MorrisJobke committed Dec 4, 2018
commit d3b4127164cc324b8835814264b6dd72d3773113
6 changes: 5 additions & 1 deletion core/Command/Db/ConvertFilecacheBigInt.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ protected function execute(InputInterface $input, OutputInterface $output) {
$column->setType(Type::getType(Type::BIGINT));
$column->setOptions(['length' => 20]);

$updates[] = $tableName . '.' . $columnName;
$updates[] = '* ' . $tableName . '.' . $columnName;
}
}
}
Expand All @@ -89,6 +89,10 @@ protected function execute(InputInterface $input, OutputInterface $output) {
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()) {
Expand Down