misc/migration/2.39.0_Any.py
author sylvain.thenault@logilab.fr
Mon, 06 Apr 2009 08:58:44 +0200
changeset 1240 6a9f621e07cc
parent 0 b97547f5f1fa
permissions -rw-r--r--
restrict read perms to user on backup files

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