Disable for now again until more apps are fixed

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2022-03-16 15:17:28 +01:00 committed by Joas Schilling
parent 32ede5489e
commit 3bed983a9c
No known key found for this signature in database
GPG key ID: 7076EA9751AACDDA

View 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.');
}
}