From e1c6b35b1f86595a85211a1683e158de96c88a21 Mon Sep 17 00:00:00 2001 From: Jimmy Cao Date: Sat, 10 Sep 2011 14:00:16 -0500 Subject: [PATCH] fix nick change recording --- var.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/var.py b/var.py index 49de2c0..48b9866 100644 --- a/var.py +++ b/var.py @@ -196,7 +196,7 @@ with conn: # create nick change table - c.execute("CREATE TABLE IF NOT EXISTS nick_changes (old INTEGER, new INTEGER)") + c.execute("CREATE TABLE IF NOT EXISTS nick_changes (old INTEGER, new INTEGER, UNIQUE(new))")