enterprise: Use version column in sub_repo_perms
Created by: ryanslade
We now ensure that we use the version column in sub_repo_perms which will allow us to easily change how we encode matching rules in future.
Part of https://github.com/sourcegraph/sourcegraph/issues/26643