migrations: add back repo name index to speed up search
Created by: beyang
This adds back the repo_name_idx
index that Rijnard originally added to speed up search by 4-40x, this time in a transaction to prevent the deadlock.
Post-merge TODO
-
Recreate the index using CONCURRENTLY
on sourcegraph.com