347 shaares
3 liens privés
3 liens privés
2 résultats
taggé
postgresql
Using UUIDv7 with Ecto and PostgreSQL
postgresectoelixirphoenix
Posted on 2026-02-04 by Matt.
Postgres 18 adds support for generating UUIDv7s out of the box; no extensions required. Unfortunately, it's less obvious how to use these for the id in our Ecto schemas. But don't worry, it only requires a few small changes and no new dependencies.
timeseries , ecto & postgresql