mirror of
https://github.com/diced/zipline.git
synced 2025-12-12 15:50:11 -08:00
fix: sessions & authentik -> oidc & #603
This commit is contained in:
@@ -29,6 +29,7 @@ model User {
|
||||
|
||||
totpSecret String?
|
||||
passkeys UserPasskey[]
|
||||
sessions String[]
|
||||
|
||||
quota UserQuota?
|
||||
|
||||
@@ -103,7 +104,7 @@ enum OAuthProviderType {
|
||||
DISCORD
|
||||
GOOGLE
|
||||
GITHUB
|
||||
AUTHENTIK
|
||||
OIDC
|
||||
}
|
||||
|
||||
model File {
|
||||
@@ -112,7 +113,7 @@ model File {
|
||||
updatedAt DateTime @updatedAt
|
||||
deletesAt DateTime?
|
||||
|
||||
name String // name & file saved on datasource
|
||||
name String // name & file saved on datasource
|
||||
originalName String? // original name of file when uploaded
|
||||
size BigInt
|
||||
type String
|
||||
@@ -232,4 +233,4 @@ model Invite {
|
||||
|
||||
inviter User @relation(fields: [inviterId], references: [id], onDelete: Cascade, onUpdate: Cascade)
|
||||
inviterId String
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user