public function check(Request $request)
    {
        /** @var $response \Bolt\Storage\Database\Schema\SchemaCheck */
        $check = $this->app['schema']->check();

        $context = [
            'changes' => null,
            'check'   => $check,
            'debug'   => $request->query->has('debug'),
            'alters'  => $this->app['schema.comparator']->getAlters(),
            'creates' => $this->app['schema.comparator']->getCreates(),
            'diffs'   => $this->app['schema.comparator']->getDiffs(),
        ];

        return $this->render('@bolt/dbcheck/dbcheck.twig', $context);
    }
public function check(Request $request)
    {
        /** @var $response \Bolt\Storage\Database\Schema\SchemaCheck */
        $check = $this->app['schema']->check();

        $context = [
            'changes' => null,
            'check'   => $check,
            'debug'   => $request->query->has('debug'),
            'alters'  => $this->app['schema.comparator']->getAlters(),
            'creates' => $this->app['schema.comparator']->getCreates(),
            'diffs'   => $this->app['schema.comparator']->getDiffs(),
        ];

        return $this->render('@bolt/dbcheck/dbcheck.twig', $context);
    }
public function check ( Request $ request ) { /** @var $response \Bolt\Storage\Database\Schema\SchemaCheck */ $ check = $ this -> app [ 'schema' ] -> check ( ) ; $ context = [ 'changes' => null , 'check' => $ check , 'debug' => $ request -> query -> has ( 'debug' ) , 'alters' => $ this -> app [ 'schema.comparator' ] -> getAlters ( ) , 'creates' => $ this -> app [ 'schema.comparator' ] -> getCreates ( ) , 'diffs' => $ this -> app [ 'schema.comparator' ] -> getDiffs ( ) , ] ; return $ this -> render ( '@bolt/dbcheck/dbcheck.twig' , $ context ) ; }
Check the database for missing tables and columns.

Does not do actual repairs.

@param Request $request

@return \Bolt\Response\TemplateResponse
Check the database for missing tables and columns .