Would a PR that supports bytea/non-integer IDs be useful?

Howdy! In my Rails 7 app, we’ve opted to use ULIDs for various reasons. I have a Postgres database and use its bytea column type to efficiently store this value.

However, we noticed that there were some parts of Rails which assumes integer IDs, notably around how ActiveRecord loads associations in fixtures.

Per the contributing guidelines, I’m opening up a discussion here to gauge whether or not the patches I’ve written to support these non-Integer primary keys would be useful to send over. What do you think?