summaryrefslogtreecommitdiffstats
path: root/core/Application.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/Application.php')
-rw-r--r--core/Application.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/Application.php b/core/Application.php
index 03ff1be681e..05e45f4084f 100644
--- a/core/Application.php
+++ b/core/Application.php
@@ -32,6 +32,7 @@
namespace OC\Core;
+use Doctrine\DBAL\Platforms\PostgreSQL94Platform;
use OC\Authentication\Events\RemoteWipeFinished;
use OC\Authentication\Events\RemoteWipeStarted;
use OC\Authentication\Listeners\RemoteWipeActivityListener;
@@ -116,7 +117,7 @@ class Application extends App {
$subject->addHintForMissingSubject($table->getName(), 'fs_size');
}
- if (!$table->hasIndex('fs_storage_path_prefix')) {
+ if (!$table->hasIndex('fs_storage_path_prefix') && !$schema->getDatabasePlatform() instanceof PostgreSQL94Platform) {
$subject->addHintForMissingSubject($table->getName(), 'fs_storage_path_prefix');
}
}