-
Notifications
You must be signed in to change notification settings - Fork 140
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
[WIP] UUID as primary key #443
[WIP] UUID as primary key #443
Conversation
40f0825
to
a73a097
Compare
Current coverage is 68.65% (diff: 60.00%)@@ master #443 diff @@
==========================================
Files 69 69
Lines 9163 9167 +4
Methods 0 0
Messages 0 0
Branches 1987 1983 -4
==========================================
Hits 6294 6294
- Misses 2347 2351 +4
Partials 522 522
|
@gi0baro I am fine with this. If you are too, I would merge it. |
@mdipierro I'm not really happy with the implementation. IMHO if we really want to support this we should plan a complete implementation. |
@mdipierro also, this should still be considered a Work in progress, see the title. |
I agree. In the case of Mongodb, my original approach was to map UUIDs in long integers and vice versa. |
+1 for string id support. My application requires a string id field and it looks like currently there's no way I can make that work. |
3b526f9
to
2a77f13
Compare
I am going to decline this. It is a good idea but requires a lot more changes than this one. |
Resolution to issue #442
This pull request will enable Postgresql users to use a UUID as a primary key. Currently when trying to do an insert the code expects an integer to be returned resulting in a ValueError exception.