# HG changeset patch # User Sylvain Thénault # Date 1284446966 -7200 # Node ID 91c053c110c3e71ea1aba218b71d70eb41fb093e # Parent dbb7ad04b963675852dc8ad69926c51965dcd99e [schema] mark CWUniqueTogetherConstraint and its relations as schema entity/relations diff -r dbb7ad04b963 -r 91c053c110c3 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',