Maven Vreg: update cache entry composite PK to rails 7.1 native support

Context

rails 7.1 is now available in the GitLab codebase, and this means that we have proper composite primary key support 🎉

The database table already has the correct definition (example), so we just need to update the model so that it utilizes rails 7.1 native support for the feature.

Edited by Moaz Khalifa