From 1aa988d9d6a9000f3e866561f9405cfff4c712ce Mon Sep 17 00:00:00 2001 From: Sven Slootweg Date: Sun, 27 May 2012 07:02:52 +0200 Subject: [PATCH] Add hash field to database --- parse | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parse b/parse index 11ec50f..8a42fed 100755 --- a/parse +++ b/parse @@ -17,7 +17,7 @@ database = sqlite3.connect('emails.db').cursor() try: # Try to create the table - database.execute("CREATE TABLE emails (`message_id`, `from`, `to`, `subject`, `date`, `body`, `html`)") + database.execute("CREATE TABLE emails (`message_id`, `from`, `to`, `subject`, `date`, `body`, `html`, `hash`)") except sqlite3.OperationalError: # Table already exists pass