Main Website
Downloads
Roadmap
Community
Searchβ¦
v1.3.0
πΈ
What is Petal Pro?
π‘
Changelog
β«
Upgrade guide
Guides
π
Creating a web app from start to finish
π©π³
Recipes
π
UUIDs
β
First/Last name
Fundamentals
πΏ
Installation
π
Folder structure
π
Included Pages
π
Users & Authentication
π’
Organizations & Multitenancy
π§
Components
β¬
Dark mode
π¨
Branding
π±
Seeding
π
Layouts & Menus
π
Background Tasks and Jobs
π§
Util & Helpers
π§
Emails
πͺ
Javascript Hooks
π
Extra Hex Libraries
π
Generators & Page Builder
π£
Translations
π
Contributing
π«
Deployment
π‘
Testing
Powered By
GitBook
π
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.
β
Previous
Recipes
Next
First/Last name
Last modified
1mo ago
Copy link
Outline
How to use