Add indices to the db.