]> source.dussan.org Git - nextcloud-server.git/commitdiff
Disable for now again until more apps are fixed 31580/head
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>
Wed, 16 Mar 2022 14:17:28 +0000 (15:17 +0100)
committerJoas Schilling <coding@schilljs.com>
Mon, 21 Mar 2022 11:14:19 +0000 (12:14 +0100)
Signed-off-by: Joas Schilling <coding@schilljs.com>
lib/private/DB/MigrationService.php

index 0cf37cb995a33d601bc4fb4fcb9d33fbe855648d..5e146112120573c21c142afda554e6ac152ad5cf 100644 (file)
@@ -634,8 +634,8 @@ class MigrationService {
                                if ($isUsingDefaultName && \strlen($table->getName()) - $prefixLength >= 23) {
                                        throw new \InvalidArgumentException('Primary index name on "' . $table->getName() . '" is too long.');
                                }
-                       } elseif (!$primaryKey instanceof Index && !$sourceTable instanceof Table) {
-                               throw new \InvalidArgumentException('Table "' . $table->getName() . '" has no primary key and therefor will not behave sane in clustered setups.');
+                               // } elseif (!$primaryKey instanceof Index && !$sourceTable instanceof Table) {
+                               // throw new \InvalidArgumentException('Table "' . $table->getName() . '" has no primary key and therefor will not behave sane in clustered setups.');
                        }
                }