svv/database.py
changeset 7 bbac4b0f4320
parent 6 72c73df76db2
child 9 0327b83959e9
--- a/svv/database.py	Wed Dec 22 02:52:25 2010 +0200
+++ b/svv/database.py	Wed Dec 22 21:12:22 2010 +0200
@@ -18,7 +18,7 @@
         Column('id', Integer, primary_key=True),
 
         # organization or person name (may match with contact name)
-        Column('name', Unicode, nullable=False),
+        Column('name', Unicode, nullable=False, unique=True),
 
         # free-form internal notes
         Column('notes', Unicode),