feature: Adds username support.

LOM eta wen
This commit is contained in:
greysoh 2024-05-05 21:56:35 -04:00
parent 9f1de2b4ec
commit 7c1e26b150
No known key found for this signature in database
GPG key ID: FE0F173B8FC01571
5 changed files with 23 additions and 5 deletions

View file

@ -45,9 +45,10 @@ model User {
id Int @id @default(autoincrement())
email String @unique
username String? // NOT optional in the API, but just for backwards compat
name String
password String // Will be hashed using bcrypt
rootToken String?
isRootServiceAccount Boolean?
permissions Permission[]
}
}