misc/migration/2.39.0_Any.py
author Aurelien Campeas <aurelien.campeas@logilab.fr>
Wed, 11 Feb 2009 15:59:40 +0100
changeset 602 1454282a8b45
parent 0 b97547f5f1fa
permissions -rw-r--r--
[views] cleanup, be less heavy with self.w ...

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