Ecto and Binary IDs
Using UUIDs as primary keys is simple with migration_primary_key
and a simple change to the schema:
https://www.annkissam.com/elixir/alembic/posts/2019/01/04/ecto-and-binary-ids.html
Read next How We Used Elixir's GenServers + Dynamic Supervisors to Build Concurrent, Fault Tolerant Workflows