misc/migration/3.13.8_Any.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 03 Apr 2013 11:09:50 +0200
branchstable
changeset 8862 8011ca5d2841
parent 7922 d307c3817782
permissions -rw-r--r--
[predicates] use select_or_none rather than select+try/except, expected to be more efficient

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