misc/migration/3.13.0_Any.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 22 Dec 2015 15:35:10 +0100
changeset 11034 75d752e6daf7
parent 7921 a93e2ed5877a
permissions -rw-r--r--
[server] improve TZDatetime support by depending on logilab-database 1.15.0 including https://www.logilab.org/ticket/1485893, we can now keep the tzinfo attribute on datetime objects for TZDatetime attributes, so one knows that this is a tz-aware datetime. To easily make it work with backends that have no tz support, we keep converting tz-aware datetime objects into utc naive datetime objects before sending them to the database.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
7399
972ed1843bd8 [multi-sources] support for moving an entity from an external source (closes #343818)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
     1
sync_schema_props_perms('cw_source', syncprops=False)
7542
86e9632a4e9c fix 3.13.0 migration script (closes #1766202)
Alexandre Fayolle <alexandre.fayolle@logilab.fr>
parents: 7460
diff changeset
     2
if schema['BigInt'].eid is None:
86e9632a4e9c fix 3.13.0 migration script (closes #1766202)
Alexandre Fayolle <alexandre.fayolle@logilab.fr>
parents: 7460
diff changeset
     3
    add_entity_type('BigInt')