misc/migration/3.18.0_Any.py
changeset 9369 176c1edf51b0
parent 9361 0542a85fe667
child 9370 15c695d8d865
equal deleted inserted replaced
9368:10694dd136f3 9369:176c1edf51b0
    84 commit()
    84 commit()
    85 
    85 
    86 
    86 
    87 for rschema in schema.relations():
    87 for rschema in schema.relations():
    88     if rschema.symmetric:
    88     if rschema.symmetric:
    89         with session.allow_all_hooks_but('activeintegrity'):
    89         with session.deny_all_hooks_but():
    90             rql('SET X %(r)s Y WHERE Y %(r)s X, NOT X %(r)s Y' % {'r': rschema.type})
    90             rql('SET X %(r)s Y WHERE Y %(r)s X, NOT X %(r)s Y' % {'r': rschema.type})
    91     commit()
    91     commit()