misc/migration/3.13.8_Any.py
author Julien Cristau <julien.cristau@logilab.fr>
Tue, 03 Nov 2015 15:55:35 +0100
changeset 10824 fbefdaa56d2b
parent 7922 d307c3817782
permissions -rw-r--r--
[server] fix db-dump with sqlite 'gzip -c dbname > backupfile' needs to go through the shell.

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