diff options
Diffstat (limited to 'core/Application.php')
-rw-r--r-- | core/Application.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/core/Application.php b/core/Application.php index 443585ebc79..158375984d1 100644 --- a/core/Application.php +++ b/core/Application.php @@ -225,6 +225,13 @@ class Application extends App { $subject->addHintForMissingSubject($table->getName(), 'preferences_app_key'); } } + + if ($schema->hasTable('mounts')) { + $table = $schema->getTable('mounts'); + if (!$table->hasIndex('mounts_class_index')) { + $subject->addHintForMissingSubject($table->getName(), 'mounts_class_index'); + } + } } ); |