protected function createPDOSQLite($location, $errorMode)
    {
        $dsn = 'sqlite:' . $location;

        $db  = new \Parable\ORM\Database\PDOSQLite($dsn);
        $db->setAttribute(\PDO::ATTR_ERRMODE, $errorMode);

        return $db;
    }