diff --git a/lib/private/DB/MigrationService.php b/lib/private/DB/MigrationService.php
index 412bb61a086fc93d989d2a7657fa2ca927679751..f584cb351d2b842535058f5c15dfeac2900e825c 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 dd06b9096cc5730439f05f2987bd55f0aacc64b8..7e20119108742568f149a84888eaa2fd43a4dcb6 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())