schemas/bootstrap.py
changeset 9375 8e88576787c3
parent 9299 c5eed908117d
child 9395 96dba2efd16d
--- a/schemas/bootstrap.py	Tue Jan 07 17:45:48 2014 +0100
+++ b/schemas/bootstrap.py	Wed Jan 08 12:09:44 2014 +0100
@@ -158,6 +158,7 @@
 class CWUniqueTogetherConstraint(EntityType):
     """defines a sql-level multicolumn unique index"""
     __permissions__ = PUB_SYSTEM_ENTITY_PERMS
+    name = String(required=True, unique=True, maxsize=64)
     constraint_of = SubjectRelation('CWEType', cardinality='1*', composite='object',
                                     inlined=True)
     relations = SubjectRelation('CWRType', cardinality='+*',