[schema] mark CWUniqueTogetherConstraint and its relations as schema entity/relations
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 14 Sep 2010 08:48:44 +0200
changeset 6229 c4a70a5dd144
parent 6228 469ebd0d6fb7
child 6279 42079f752a9c
[schema] mark CWUniqueTogetherConstraint and its relations as schema entity/relations
schema.py
--- a/schema.py	Tue Sep 14 08:47:11 2010 +0200
+++ b/schema.py	Tue Sep 14 08:48:44 2010 +0200
@@ -57,9 +57,11 @@
 # set of entity and relation types used to build the schema
 SCHEMA_TYPES = set((
     'CWEType', 'CWRType', 'CWAttribute', 'CWRelation',
-    'CWConstraint', 'CWConstraintType', 'RQLExpression',
+    'CWConstraint', 'CWConstraintType', 'CWUniqueTogetherConstraint',
+    'RQLExpression',
     'relation_type', 'from_entity', 'to_entity',
     'constrained_by', 'cstrtype',
+    'constraint_of', 'relations',
     ))
 
 WORKFLOW_TYPES = set(('Transition', 'State', 'TrInfo', 'Workflow',