diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-12-04 18:33:28 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2018-12-05 00:35:09 +0100 |
commit | d3b4127164cc324b8835814264b6dd72d3773113 (patch) | |
tree | a0fdc325073af72baeac24201737b8195c87328d /core/Command/Db | |
parent | faa988c0993aa114140eec7cad48b93dec0e4b0d (diff) | |
download | nextcloud-server-d3b4127164cc324b8835814264b6dd72d3773113.tar.gz nextcloud-server-d3b4127164cc324b8835814264b6dd72d3773113.zip |
Show columns to update in CLI interface
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'core/Command/Db')
-rw-r--r-- | core/Command/Db/ConvertFilecacheBigInt.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/core/Command/Db/ConvertFilecacheBigInt.php b/core/Command/Db/ConvertFilecacheBigInt.php index 5960b7aa9dd..eab64660ac4 100644 --- a/core/Command/Db/ConvertFilecacheBigInt.php +++ b/core/Command/Db/ConvertFilecacheBigInt.php @@ -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()) { |