-
Notifications
You must be signed in to change notification settings - Fork 577
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
uuid models support #2310
base: 3.x
Are you sure you want to change the base?
uuid models support #2310
Conversation
Maybe adding a feature config option for this? And use it for the migration, there is also the model helpers that use |
I'm not sure about this because |
I also agree on this, it's simpler and more efficient to use |
My opinion is it's better for the project to be quite flexible considering this feature not that hard to maintain. If anybody prefer to use uuid as a primary key, why not? |
Yes, I agree, we can add it as an optional feature. |
Hi @yamaha252 I'm ready to accept and merge this but there are more tables that use integer columns for id references that would need to be changed ( |
Thanks @ifox, done |
Yes, I think that's good, as it'll supprt both UUID and ULID. |
Hi!
As I can see there is no big reason not to support model uuid primary keys.
It's always annoying I have to use autoincrement int if I want to use the model in Twill.