Make `primary_key_prefix_type` a class attribute
Make `primary_key_prefix_type` a class attribute

Followup: https://github.com/rails/rails/pull/42442

joonyou/rails,BlakeWilliams/rails,kddeisz/rails,yawboakye/rails,georgeclaghorn/rails,BlakeWilliams/rails,Stellenticket/rails,Edouard-chin/rails,kddeisz/rails,esparta/rails,EmmaB/rails-1,georgeclaghorn/rails,joonyou/rails,BlakeWilliams/rails,georgeclaghorn/rails,joonyou/rails,lcreid/rails,Erol/rails,esparta/rails,yahonda/rails,Erol/rails,yahonda/rails,yahonda/rails,joonyou/rails,kmcphillips/rails,kddeisz/rails,Edouard-chin/rails,kmcphillips/rails,MSP-Greg/rails,kmcphillips/rails,esparta/rails,Envek/rails,lcreid/rails,Erol/rails,Stellenticket/rails,Erol/rails,Vasfed/rails,esparta/rails,rails/rails,yawboakye/rails,rails/rails,Vasfed/rails,kddeisz/rails,Vasfed/rails,Edouard-chin/rails,rails/rails,Envek/rails,EmmaB/rails-1,yawboakye/rails,Vasfed/rails,georgeclaghorn/rails,lcreid/rails,yawboakye/rails,lcreid/rails,Stellenticket/rails,Envek/rails,kmcphillips/rails,MSP-Greg/rails,yahonda/rails,rails/rails,Edouard-chin/rails,MSP-Greg/rails,MSP-Greg/rails,Stellenticket/rails,EmmaB/rails-1,BlakeWilliams/rails,Envek/rails