Add UUID4 and UUID7 database functions
As discussed in https://github.com/django/new-features/issues/85, multiple databases (postgres, mariadb, oracle) have support for generating uuid4 and uuid7 values and it seems likely that other databases will follow. They are also popular choices for database primary keys, and together with db_default this will make it easy to use from Django.
django.contrib.postgres also has a RandomUUID function which supports uuid4. This can be deprecated and removed.
Change History
(9)
| Owner: |
set to Lily
|
| Status: |
new → assigned
|
| Triage Stage: |
Unreviewed → Accepted
|
| Cc: |
Paolo Melchiorre added
|
| Patch needs improvement: |
set
|
| Patch needs improvement: |
unset
|
| Triage Stage: |
Accepted → Ready for checkin
|
| Resolution: |
→ fixed
|
| Status: |
assigned → closed
|
In accceec: