πŸ“
UUIDs
We have a branch called recipes/uuid that converts all "ids" to use the UUID6 type. We chose UUID6 as it allows for ordering due to its sequential nature.

How to use

New projects

git clone https://github.com/petalframework/petal_pro.git
cd petal_pro
git checkout recipes/uuid

Existing projects

If you already have a project in production then it will be a bit more difficult to update to use UUIDs. This blog post has an example of a migration.
If you haven't pushed to prod yet, you can see how we've done it in this diff and do the same to your codebase.
​
Copy link
Outline
How to use