misc/migration/2.39.0_Any.py
author Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
Thu, 19 Feb 2009 21:35:27 +0100
branchtls-sprint
changeset 863 4fde01fc39ca
parent 0 b97547f5f1fa
permissions -rw-r--r--
restore previous hidden input behaviour (edits- / edito- fields)

try:
    # missing on some old databases
    sql('CREATE INDEX entities_extid_idx ON entities(extid)')
except:
    pass # already exists
checkpoint() 
sql('CREATE INDEX entities_type_idx ON entities(type)')
checkpoint()