equal
deleted
inserted
replaced
80 from yams import buildobjs as ybo |
80 from yams import buildobjs as ybo |
81 schema.add_relation_def(ybo.RelationDefinition('CWAttribute', 'defaultval', 'Bytes')) |
81 schema.add_relation_def(ybo.RelationDefinition('CWAttribute', 'defaultval', 'Bytes')) |
82 schema.del_relation_def('CWAttribute', 'defaultval', 'String') |
82 schema.del_relation_def('CWAttribute', 'defaultval', 'String') |
83 |
83 |
84 commit() |
84 commit() |
|
85 |
|
86 |
|
87 for rschema in schema.relations(): |
|
88 if rschema.symmetric: |
|
89 with session.allow_all_hooks_but('activeintegrity'): |
|
90 rql('SET X %(r)s Y WHERE Y %(r)s X, NOT X %(r)s Y' % {'r': rschema.type}) |
|
91 commit() |