DB-API: remove duplicate indexing calls

This commit is contained in:
Doug Blank 2016-07-21 07:46:55 -04:00
parent d94fd873be
commit 22afe47966

View File

@ -334,13 +334,6 @@ class DBAPI(DbGeneric):
source_handle ON source(handle);
""")
self.dbapi.try_execute("""CREATE INDEX
place_order_by ON place(order_by);
""")
self.dbapi.try_execute("""CREATE INDEX
tag_order_by ON tag(order_by);
""")
self.dbapi.try_execute("""CREATE INDEX
family_gramps_id ON family(gramps_id);
""")
@ -357,9 +350,6 @@ class DBAPI(DbGeneric):
self.dbapi.try_execute("""CREATE INDEX
reference_obj_handle ON reference(obj_handle);
""")
self.dbapi.try_execute("""CREATE INDEX
person_surname ON person(surname);
""")
self.rebuild_secondary_fields()
def close_backend(self):