Rodauth account related tables use UUID; should I be worried? #234
Samuelodan
started this conversation in
General
Replies: 2 comments 7 replies
-
I don't think there would be any performance penalty for using UUIDs, they should work just as well as integers. There might be some general caveats regarding UUIDs, which I don't know as I didn't have much experience with them. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Oh, I just found a downside to using UUID. The app throws this error if this kind of key, This is the error:
|
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So, my Rails app was already set to use UUID as the default ID type and I didn't realize that this affected the
CreateRodauth
migration that created tables likeuser_login_change_keys
, setting them to use UUID for id.I noticed today and now I wonder if I should go through the hassle of converting the three tables to use BigInt or just let them (and future Rodauth tables) continue to use UUID.
Will there any significant performance penalty?
Beta Was this translation helpful? Give feedback.
All reactions