misc/migration/3.20.0_Any.py
author Lea Capgen <lea.capgen@logilab.fr>
Tue, 16 Sep 2014 15:28:35 +0200
changeset 9968 50f046bf0e50
parent 9956 19a683a0047c
permissions -rw-r--r--
[CWEP002] properly handle serialization of computed attributes Until this cset, only serialization of computed attribute's formula was handled (thanks to the relation definition's properties dict). We now: * properly serialize/deserialize attribute's formula * test first if the database has been migrated and contains related column or not Related to #3546717
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
9956
19a683a0047c [CWEP002] properly handle serialization of computed relations
Lea Capgen <lea.capgen@logilab.fr>
parents:
diff changeset
     1
add_relation_type('CWComputedRType')
9968
50f046bf0e50 [CWEP002] properly handle serialization of computed attributes
Lea Capgen <lea.capgen@logilab.fr>
parents: 9956
diff changeset
     2
add_attribute('CWAttribute', 'formula')