auto-populate missing username field with email local-part

This commit is contained in:
2026-03-17 19:27:41 +08:00
parent 7b4d2e789f
commit 32746756d4
7 changed files with 215 additions and 11 deletions

View File

@@ -24,8 +24,8 @@ model User {
/// User's email address
email String @unique
/// User's preferred username from Keycloak
username String?
/// User's preferred app handle used for discovery
username String @unique
/// URL to user's profile picture
picture String?