diff --git a/lib/private/DB/MigrationService.php b/lib/private/DB/MigrationService.php index 412bb61a08..f584cb351d 100644 --- a/lib/private/DB/MigrationService.php +++ b/lib/private/DB/MigrationService.php @@ -457,7 +457,8 @@ class MigrationService { if ($toSchema instanceof SchemaWrapper) { $targetSchema = $toSchema->getWrappedSchema(); - $this->ensureOracleIdentifierLengthLimit($targetSchema, strlen($this->connection->getPrefix())); + // TODO re-enable once stable14 is branched of: https://github.com/nextcloud/server/issues/10518 + // $this->ensureOracleIdentifierLengthLimit($targetSchema, strlen($this->connection->getPrefix())); $this->connection->migrateToSchema($targetSchema); $toSchema->performDropTableCalls(); } diff --git a/tests/lib/DB/MigrationsTest.php b/tests/lib/DB/MigrationsTest.php index dd06b9096c..7e20119108 100644 --- a/tests/lib/DB/MigrationsTest.php +++ b/tests/lib/DB/MigrationsTest.php @@ -102,12 +102,13 @@ class MigrationsTest extends \Test\TestCase { ->method('migrateToSchema'); $wrappedSchema = $this->createMock(Schema::class); - $wrappedSchema->expects($this->once()) + // TODO re-enable once stable14 is branched of: https://github.com/nextcloud/server/issues/10518 + /*$wrappedSchema->expects($this->once()) ->method('getTables') ->willReturn([]); $wrappedSchema->expects($this->once()) ->method('getSequences') - ->willReturn([]); + ->willReturn([]);*/ $schemaResult = $this->createMock(SchemaWrapper::class); $schemaResult->expects($this->once())