misc/migration/2.39.0_Any.py
author sylvain.thenault@logilab.fr
Mon, 06 Apr 2009 14:43:23 +0200
changeset 1247 3332c92d950c
parent 0 b97547f5f1fa
permissions -rw-r--r--
give view when selecting actions

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