aboutsummaryrefslogtreecommitdiffstats
path: root/core/Application.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/Application.php')
-rw-r--r--core/Application.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/core/Application.php b/core/Application.php
index a65f1f3fa60..94990df9356 100644
--- a/core/Application.php
+++ b/core/Application.php
@@ -85,6 +85,14 @@ class Application extends App {
$subject->addHintForMissingSubject($table->getName(), 'fs_mtime');
}
}
+
+ if ($schema->hasTable('twofactor_providers')) {
+ $table = $schema->getTable('twofactor_providers');
+
+ if (!$table->hasIndex('twofactor_providers_uid')) {
+ $subject->addHintForMissingSubject($table->getName(), 'twofactor_providers_uid');
+ }
+ }
}
);
}