misc/migration/3.21.0_Any.py
author Julien Cristau <julien.cristau@logilab.fr>
Fri, 16 Jan 2015 12:43:32 +0100
changeset 10208 249126034c0e
child 10209 4c64a41c0a1d
permissions -rw-r--r--
Add unique index on entities.extid


helper = repo.system_source.dbhelper
sql('DROP INDEX entities_extid_idx')
sql(helper.sql_create_index('entities', 'extid', True))
commit()