Merge branch 'feat/refresh' into feat/universal-upload

This commit is contained in:
Lucas Smith
2023-09-14 12:53:58 +10:00
committed by GitHub
22 changed files with 420 additions and 142 deletions
+6
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[]