This repository was archived by the owner on Jan 6, 2023. It is now read-only.
How to change primary key to use UUID #2445
Unanswered
ChicagoGregg
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hello, you would need to use the v8.docs.directus.io for 8.8.1: If you have the requirements for D9, that has the option for UUID |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I'm running v8.8.1 with no collections, vanilla installation, and MySQL or MariaDB.
I saw #4441 and that didn't help me to resolve this and need to dig deeper. I'd like to switch the PK id to use UUID instead by default for all collections.
I saw this link: https://docs.directus.io/guides/collections/#
But I cannot see this option in Settings -> Data Model. I also tried to remove the old PK (well, and modify existing) and can't see any UUID options.
Are there any instructions to make this change? I'm starting from fresh with a new schema (so data loss isn't any issue).
Thanks in advance,
-gregg
Beta Was this translation helpful? Give feedback.
All reactions