add index for sqlite