misc/migration/3.13.8_Any.py
author Aurelien Campeas <aurelien.campeas@logilab.fr>
Fri, 24 Jan 2014 13:08:53 +0100
changeset 9547 43aace16a953
parent 7922 d307c3817782
permissions -rw-r--r--
[schema] add composite handling helpers on EntitySchema (related to #3463112) These will help write predicates, hooks, etc.

change_attribute_type('CWCache', 'timestamp', 'TZDatetime')
change_attribute_type('CWUser', 'last_login_time', 'TZDatetime')
change_attribute_type('CWSource', 'latest_retrieval', 'TZDatetime')
drop_attribute('CWSource', 'synchronizing')
add_attribute('CWSource', 'in_synchronization')