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 d987f7cfb17..4e36d59baac 100644 --- a/core/Application.php +++ b/core/Application.php @@ -196,6 +196,13 @@ class Application extends App { $subject->addHintForMissingSubject($table->getName(), 'properties_path_index'); } } + + if ($schema->hasTable('jobs')) { + $table = $schema->getTable('jobs'); + if (!$table->hasIndex('job_lastcheck_reserved')) { + $subject->addHintForMissingSubject($table->getName(), 'job_lastcheck_reserved'); + } + } } ); |