postgres
PostgreSQL — the primary pairing for UUIDv7 primary keys.
uuid adds UUIDv7 primary key generation to your Go service — time-sortable, index-friendly, and wrapped in type-safe ID types.
Use uuid with any relational database. Auto-increment integers leak business data (your competitor can enumerate your orders). Random UUIDs (v4) fragment B-tree indexes and hurt write performance at scale. UUIDv7 is time-sortable, so inserts are sequential and indexes stay healthy.
verikt new my-service --language go --cap uuid# or add to an existing service:verikt add uuidpostgres
mysql
repository