public function isUpdateRequired()
{
$fromTables = $this->getInstalledTables();
$toTables = $this->getSchemaTables();
$pending = $this->getSchemaComparator()->hasPending($fromTables, $toTables, $this->app['schema.content_tables']->keys());
if (!$pending) {
$this->getSchemaTimer()->setCheckExpiry();
}
return $pending;
}