[schema] mark CWUniqueTogetherConstraint and its relations as schema entity/relations stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 14 Sep 2010 08:49:26 +0200
branchstable
changeset 6230 91c053c110c3
parent 6226 dbb7ad04b963
child 6231 fd8fb9661c57
[schema] mark CWUniqueTogetherConstraint and its relations as schema entity/relations
schema.py
--- a/schema.py	Mon Sep 13 16:46:52 2010 +0200
+++ b/schema.py	Tue Sep 14 08:49:26 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',