misc/migration/2.39.0_Any.py
author Laure Bourgois <Laure.Bourgois@logilab.fr>
Wed, 26 Nov 2008 10:20:27 +0100
changeset 149 a7cd4296a85e
parent 0 b97547f5f1fa
permissions -rw-r--r--
cleaning code

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