How to Override ID type. #7496
Unanswered
fernandortec
asked this question in
Q&A
Replies: 1 comment
-
Primary ids are always UUIDs in EdgeDB, you cannot change the type. I think currently it's using a variant of UUIDv1, which is timebased, somewhat similar to ULID, and will switch to UUIDv7 which is very similar to ULID (time based prefix, random suffix, strictly monotonic). It uses the hex-with-hyphens format when outputting a UUID, but you could reformat it to base32 in your application code, if that's a part of ULID you care about. You can also add an additional |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I tried overriding the ID to be an auto incrementing or an ULID, but I can't. I looked at the docs and there's no info on how to do it.

Beta Was this translation helpful? Give feedback.
All reactions