]> git.sthu.org Git - dvrdb.git/commitdiff
Fix: dvr is not unique
authorStefan Huber <shuber@sthu.org>
Wed, 15 Jan 2014 16:21:45 +0000 (17:21 +0100)
committerStefan Huber <shuber@sthu.org>
Fri, 17 Jan 2014 13:30:19 +0000 (14:30 +0100)
dvr-db.py

index 62038e6a71daa4d8e2de7695085694f24fcede5a..ca848f6ddd7cb5c244e9522b589ec8748214d164 100755 (executable)
--- a/dvr-db.py
+++ b/dvr-db.py
@@ -34,7 +34,7 @@ class Database:
 
         c.execute("CREATE TABLE IF NOT EXISTS dvrtable (\
                      id INTEGER PRIMARY KEY, \
-                     dvr INTEGER UNIQUE \
+                     dvr INTEGER \
                      )")
 
         c.execute("CREATE TABLE IF NOT EXISTS registrations (\