]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix(db): Prevent data loss by temporarily disabling `db:convert-type`
authorJosh <josh.t.richards@gmail.com>
Sat, 18 May 2024 02:26:15 +0000 (22:26 -0400)
committerGitHub <noreply@github.com>
Sat, 18 May 2024 02:26:15 +0000 (22:26 -0400)
Needed until #45257 is addressed to prevent data loss

Signed-off-by: Josh <josh.t.richards@gmail.com>
core/Command/Db/ConvertType.php

index db618e938c007d026070d8b0f75a0406b6d608c5..176c321c1512e64953a898badc7f4be3ebb873d4 100644 (file)
@@ -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);