Seen: nick alone is no longer a unique primary key

This commit is contained in:
Brian S. Stephan 2012-07-27 11:37:29 -05:00
parent 2163268a39
commit 8338799f1b
1 changed files with 1 additions and 1 deletions

View File

@ -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,