misc/migration/2.39.0_Any.py
author Sylvain Thenault <sylvain.thenault@logilab.fr>
Fri, 05 Dec 2008 18:06:58 +0100
changeset 176 312024cbe717
parent 0 b97547f5f1fa
permissions -rw-r--r--
don't ask confirm

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