3
0
Fork 0

feat: make v7 UUID values instead of v1

this is thanks to the presentation at
https://www.youtube.com/watch?v=n9Cxs0sTqEY

the basic rationale is that:

- v1 UUID is "less private" in that MAC address can be deduced
- v7 UUID has "better index performance" per sortable prefix

we also need to store these as true UUID data type in postgres, but
that will be a separate effort..
This commit is contained in:
Lance Edgar 2024-11-30 12:26:56 -06:00
parent ecdfb2f6e0
commit cd90626f1d
2 changed files with 4 additions and 2 deletions

View file

@ -32,6 +32,7 @@ dependencies = [
"progress",
"python-configuration",
"typer",
"uuid7",
]