Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ID prefix on tables #11589

Open
hxrriet02 opened this issue Aug 31, 2024 · 0 comments
Open

ID prefix on tables #11589

hxrriet02 opened this issue Aug 31, 2024 · 0 comments

Comments

@hxrriet02
Copy link

Feature Request

Optionally prefix each ID when using UUID/ULIDs with a specified prefix. This could be something like user_01J6M6AYJ7C7QYRJDN8APXK8M8

Q A
New Feature yes
RFC yes
BC Break no

Summary

A user/dev facing ID prefix could be amazing for user clarity when debugging. Stripe currently does this where they have a prefix such as cus_ for customers to display and distinguish the object in a quick and easy way. I was hoping this would be combined with the ULID so that you can query with the prefix but in the database the objects are stored in binary.

Please let me know if there is already a way to do this with event listeners.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant