diff options
author | Josh <josh.t.richards@gmail.com> | 2024-05-17 22:26:15 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-17 22:26:15 -0400 |
commit | 59dc6b49cd039f85dc77b1701c6db76d008e7fb3 (patch) | |
tree | 256d925a3288e685d8fe86362824920775321052 /core/Command | |
parent | 54afea4b01385106a241a5161b3894e669716107 (diff) | |
download | nextcloud-server-59dc6b49cd039f85dc77b1701c6db76d008e7fb3.tar.gz nextcloud-server-59dc6b49cd039f85dc77b1701c6db76d008e7fb3.zip |
fix(db): Prevent data loss by temporarily disabling `db:convert-type`
Needed until #45257 is addressed to prevent data loss
Signed-off-by: Josh <josh.t.richards@gmail.com>
Diffstat (limited to 'core/Command')
-rw-r--r-- | core/Command/Db/ConvertType.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/core/Command/Db/ConvertType.php b/core/Command/Db/ConvertType.php index db618e938c0..176c321c151 100644 --- a/core/Command/Db/ConvertType.php +++ b/core/Command/Db/ConvertType.php @@ -177,6 +177,13 @@ class ConvertType extends Command implements CompletionAwareInterface { } 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); |