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);
    }