misc/migration/3.13.8_Any.py
author Julien Cristau <julien.cristau@logilab.fr>
Fri, 18 Apr 2014 14:25:36 +0200
changeset 9686 9a04e48e780b
parent 7922 d307c3817782
permissions -rw-r--r--
[migration] set a cnxset before process_script() Not pretty, but I don't have a better idea right now and this at least ensures migration scripts get run in the expected environment and can access sql stuff as before.

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