feat: creating the admin ui for metrics

This commit is contained in:
Catalin Pit
2023-09-08 09:16:31 +03:00
parent ff957a2f82
commit 171a5ba4ee
4 changed files with 28 additions and 2 deletions

View File

@ -13,6 +13,11 @@ enum IdentityProvider {
GOOGLE
}
enum Role {
ADMIN
USER
}
model User {
id Int @id @default(autoincrement())
name String?
@ -21,6 +26,7 @@ model User {
password String?
source String?
signature String?
roles Role[] @default([USER])
identityProvider IdentityProvider @default(DOCUMENSO)
accounts Account[]
sessions Session[]