misc/migration/3.13.8_Any.py
author Julien Cristau <julien.cristau@logilab.fr>
Fri, 10 Jul 2015 09:35:52 +0200
changeset 10531 51261952d068
parent 7922 d307c3817782
permissions -rw-r--r--
[schema] Make syntax compatible with print_function yams seems to exec() us sometimes (instead of __import__()), and yams.reader uses print_function nowadays.

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