chore(tfstated): change database account id format to uuidv7

This commit is contained in:
Julien Dessaux 2025-03-17 23:51:37 +01:00
parent ad9e8fbff9
commit 7a3bf725b0
Signed by: adyxax
GPG key ID: F92E51B86E07177E
6 changed files with 10 additions and 7 deletions

View file

@ -6,12 +6,13 @@ import (
"time"
"git.adyxax.org/adyxax/tfstated/pkg/helpers"
"go.n16f.net/uuid"
)
type AccountContextKey struct{}
type Account struct {
Id string
Id uuid.UUID
Username string
Salt []byte
PasswordHash []byte