feat: infra config module add with get-update-reset functionality

This commit is contained in:
Mir Arif Hasan
2023-11-24 18:55:42 +06:00
parent 74cec0365b
commit c3522025c8
10 changed files with 409 additions and 0 deletions

View File

@@ -209,3 +209,12 @@ enum TeamMemberRole {
VIEWER
EDITOR
}
model InfraConfig {
id String @id @default(cuid())
name String @unique
value String?
active Boolean @default(true) // Use case: Let's say, Admin wants to disable Google SSO, but doesn't want to delete the config
createdOn DateTime @default(now()) @db.Timestamp(3)
updatedOn DateTime @updatedAt @db.Timestamp(3)
}