Merge pull request #10553 from nextcloud/bugfix/10518/disable-oracle-enforcement-for-now
Disable Oracle enforcement for now until the following issues are sol…
This commit is contained in:
commit
6b1ba9cdaf
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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())
|
||||
|
|
Loading…
Reference in New Issue