Skip to content

Commit

Permalink
Merge pull request #45400 from nextcloud/temp-db-replica-loss-prevention
Browse files Browse the repository at this point in the history
fix(db): Prevent data loss by temporarily disabling `db:convert-type`
  • Loading branch information
AndyScherzinger authored May 22, 2024
2 parents 221883f + 2ccde6f commit 2f8176f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions core/Command/Db/ConvertType.php
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,13 @@ protected function readPassword(InputInterface $input, OutputInterface $output)
}

protected function execute(InputInterface $input, OutputInterface $output): int {
// WARNING:
// Leave in place until #45257 is addressed to prevent data loss (hopefully in time for the next maintenance release)
//
throw new \InvalidArgumentException(
'This command is temporarily disabled (until the next maintenance release).'
);

$this->validateInput($input, $output);
$this->readPassword($input, $output);

Expand Down

0 comments on commit 2f8176f

Please sign in to comment.