Add extra indexes for repository and commit models