misc/migration/3.10.7_Any.py
author Alexandre Fayolle <alexandre.fayolle@logilab.fr>
Mon, 17 Jan 2011 15:45:26 +0100
branchstable
changeset 6837 7562418985ef
parent 6815 a84190d4e78c
child 6852 970d1aab42a1
permissions -rw-r--r--
tutorial proof reading

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')