feature: Adds username support.
LOM eta wen
This commit is contained in:
parent
9f1de2b4ec
commit
7c1e26b150
5 changed files with 23 additions and 5 deletions
|
@ -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[]
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue