misc/migration/3.13.8_Any.py
author Julien Cristau <julien.cristau@logilab.fr>
Thu, 10 Apr 2014 15:03:01 +0200
changeset 9680 8fb8f001f4e2
parent 7922 d307c3817782
permissions -rw-r--r--
[hooks] run cascading delete hook later Applications may have their own before_delete_entity hooks that rely on the composite relations still existing.

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