pg_idkit is an extension powered by pgx that makes generating identifiers based on new schemes (UUIDv6, v7, v8, etc) easy.