feat: env file sync with infra config (#4545)

This commit is contained in:
Mir Arif Hasan
2024-11-26 20:22:51 +06:00
committed by GitHub
parent 80d7dd046d
commit 5dccce39b4
8 changed files with 210 additions and 59 deletions

View File

@@ -214,13 +214,13 @@ enum TeamMemberRole {
}
model InfraConfig {
id String @id @default(cuid())
name String @unique
value String?
isEncrypted Boolean @default(false) // Use case: Let's say, Admin wants to store a Secret Key, but doesn't want to store it in plain text in `value` column
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)
id String @id @default(cuid())
name String @unique
value String?
lastSyncedEnvFileValue String?
isEncrypted Boolean @default(false) // Use case: Let's say, Admin wants to store a Secret Key, but doesn't want to store it in plain text in `value` column
createdOn DateTime @default(now()) @db.Timestamp(3)
updatedOn DateTime @updatedAt @db.Timestamp(3)
}
model PersonalAccessToken {