author | Sylvain Thénault <sylvain.thenault@logilab.fr> |
Thu, 20 Jan 2011 09:16:52 +0100 | |
branch | stable |
changeset 6853 | 584679872fd7 |
parent 6852 | 970d1aab42a1 |
child 6896 | 784d5df35af1 |
permissions | -rw-r--r-- |
if not ('CWUniqueTogetherConstraint', 'CWRType') in schema['relations'].rdefs: add_relation_definition('CWUniqueTogetherConstraint', 'relations', 'CWRType') rql('SET C relations RT WHERE C relations RDEF, RDEF relation_type RT') commit() drop_relation_definition('CWUniqueTogetherConstraint', 'relations', 'CWAttribute') drop_relation_definition('CWUniqueTogetherConstraint', 'relations', 'CWRelation') add_attribute('TrInfo', 'tr_count') sync_schema_props_perms('TrInfo')