cubicweb/misc/migration/3.13.8_Any.py
author julien tayon <julien.tayon@logilab.fr>
Tue, 11 Jun 2019 09:07:24 +0200
changeset 12637 234ca3cbbb46
parent 12539 10159a3d1d72
permissions -rw-r--r--
[py3] Use sorted(key=...) instead of sorted(cmp=...)

change_attribute_type('CWUser', 'last_login_time', 'TZDatetime')
change_attribute_type('CWSource', 'latest_retrieval', 'TZDatetime')
drop_attribute('CWSource', 'synchronizing')
add_attribute('CWSource', 'in_synchronization')