misc/migration/2.39.0_Any.py
author Emile Anclin <emile.anclin@logilab.fr>
Wed, 01 Apr 2009 15:15:06 +0200
changeset 1198 9df49357b0eb
parent 0 b97547f5f1fa
permissions -rw-r--r--
doubts in english: sphinx reads the comments and they appear on cwo

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