misc/migration/3.12.0_Any.py
author Alexandre Fayolle <alexandre.fayolle@logilab.fr>
Fri, 26 Aug 2011 17:14:37 +0200
brancholdstable
changeset 7753 681ef2a664dd
parent 7540 074a6cec246b
permissions -rw-r--r--
work around cursor.rowcount not returning anything useful before 1st fetch with mssql (closes #1910869) use select count(*) from table to get the number of rows
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
7540
074a6cec246b fix 3.12.0 migration script (closes: #1766202)
Alexandre Fayolle <alexandre.fayolle@logilab.fr>
parents: 7166
diff changeset
     1
if schema['TZDatetime'].eid is None:
074a6cec246b fix 3.12.0 migration script (closes: #1766202)
Alexandre Fayolle <alexandre.fayolle@logilab.fr>
parents: 7166
diff changeset
     2
    add_entity_type('TZDatetime')
074a6cec246b fix 3.12.0 migration script (closes: #1766202)
Alexandre Fayolle <alexandre.fayolle@logilab.fr>
parents: 7166
diff changeset
     3
if schema['TZTime'].eid is None:
074a6cec246b fix 3.12.0 migration script (closes: #1766202)
Alexandre Fayolle <alexandre.fayolle@logilab.fr>
parents: 7166
diff changeset
     4
    add_entity_type('TZTime')