Embed schema for base64 string

Hi,
Welcome to the forum

If you want or need UUID don’t generate it as a primary key instead use it like this https://dev.to/dreamingechoes/generate-uuid-fields-in-phoenix-with-postgresql--2a02

Also if you want to understand the reason why you shouldn’t use uuid as a primary key you can read this thread where i asked a lot of questions regarding this topic Best way to generate an UUID for the id field?

Hope it helps