diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2022-03-16 15:17:28 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2022-03-21 12:14:19 +0100 |
commit | 3bed983a9c7fe53b221b20b45d4682d77f947965 (patch) | |
tree | 2025fcf7e63225c1d7a15dca7c2a03254e1b0cb4 /lib/private/DB/MigrationService.php | |
parent | 32ede5489e191fcaaebaab3de3d43521c17a3f53 (diff) | |
download | nextcloud-server-3bed983a9c7fe53b221b20b45d4682d77f947965.tar.gz nextcloud-server-3bed983a9c7fe53b221b20b45d4682d77f947965.zip |
Disable for now again until more apps are fixed
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private/DB/MigrationService.php')
-rw-r--r-- | lib/private/DB/MigrationService.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/DB/MigrationService.php b/lib/private/DB/MigrationService.php index 0cf37cb995a..5e146112120 100644 --- a/lib/private/DB/MigrationService.php +++ b/lib/private/DB/MigrationService.php @@ -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.'); } } |