misc/migration/3.13.8_Any.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 01 Jul 2015 12:03:00 +0200
changeset 10481 6ac4b1726e9f
parent 7922 d307c3817782
permissions -rw-r--r--
[schema2sql] properly consider skip_relations parameters. This is the same bug as yams #286912. Also, introducing a unique function telling if the relation should have a table or not unhide some other problems related to computed relation, or missing skipped relations information.

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