From f691867e1d1f49ba4a76cf662829c2be387a321e Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Thu, 20 Aug 2009 19:38:10 +0200 Subject: [PATCH] add domain --- oxlib/cache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oxlib/cache.py b/oxlib/cache.py index 68ca375..469bc88 100644 --- a/oxlib/cache.py +++ b/oxlib/cache.py @@ -107,7 +107,7 @@ def _connectDb(): def _createDb(c): # Create table and indexes - c.execute('''CREATE TABLE IF NOT EXISTS cache (url_hash varchar(42) unique, url text, + c.execute('''CREATE TABLE IF NOT EXISTS cache (url_hash varchar(42) unique, domain text, url text, post_data text, headers text, created int, data blob, only_headers int)''') c.execute('''CREATE INDEX IF NOT EXISTS cache_domain ON cache (domain)''') c.execute('''CREATE INDEX IF NOT EXISTS cache_url ON cache (url)''')