misc/migration/3.13.8_Any.py
author Julien Cristau <julien.cristau@logilab.fr>
Mon, 14 Dec 2015 14:54:23 +0100
changeset 10986 ca8321b32392
parent 7922 d307c3817782
permissions -rw-r--r--
[dataimport] separate entities table from other metadata in SQLGenObjectStore 'entities' needs to be updated first as every other table has references to its rows. Remove use of thread-local storage in the process. related to #9177565.

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