misc/migration/2.39.0_Any.py
author Sylvain Thenault <sylvain.thenault@logilab.fr>
Thu, 08 Jan 2009 09:55:27 +0100
changeset 360 600dd2fe8b40
parent 0 b97547f5f1fa
permissions -rw-r--r--
backport unittest_ldapuser

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