From 8338799f1b1d4d2af1c1502ddbd1186740692d00 Mon Sep 17 00:00:00 2001 From: "Brian S. Stephan" Date: Fri, 27 Jul 2012 11:37:29 -0500 Subject: [PATCH] Seen: nick alone is no longer a unique primary key --- modules/Seen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/Seen.py b/modules/Seen.py index ea06c3e..d18465d 100644 --- a/modules/Seen.py +++ b/modules/Seen.py @@ -41,7 +41,7 @@ class Seen(Module): cur = db.cursor(mdb.cursors.DictCursor) cur.execute(''' CREATE TABLE seen_nicks ( - nick VARCHAR(64) NOT NULL PRIMARY KEY, + nick VARCHAR(64) NOT NULL, location VARCHAR(64) NOT NULL, host VARCHAR(256) NOT NULL, time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,