Skip to content

Commit

Permalink
Add hint for missing properties path index
Browse files Browse the repository at this point in the history
Signed-off-by: Mario Danic <mario@lovelyhq.com>
  • Loading branch information
mario committed Apr 30, 2020
1 parent 142957b commit 4243d5d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions core/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,13 @@ function (GenericEvent $event) use ($container) {
$subject->addHintForMissingSubject($table->getName(), 'schedulobj_principuri_index');
}
}

if ($schema->hasTable('oc_properties')) {
$table = $schema->getTable('oc_properties');
if (!$table->hasIndex('properties_path_index')) {
$subject->addHintForMissingSubject($table->getName(), 'properties_path_index');
}
}
}
);

Expand Down

0 comments on commit 4243d5d

Please sign in to comment.