2
0

feat(integration): Add Google Sheets integration

This commit is contained in:
Baptiste Arnaud
2022-01-18 18:25:18 +01:00
parent 2814a352b2
commit f49b5143cf
67 changed files with 2560 additions and 391 deletions

View File

@ -49,6 +49,22 @@ model User {
folders DashboardFolder[]
plan Plan @default(FREE)
stripeId String? @unique
credentials Credentials[]
}
model Credentials {
id String @id @default(cuid())
ownerId String
owner User @relation(fields: [ownerId], references: [id], onDelete: Cascade)
data Json
name String
type CredentialsType
@@unique([name, type, ownerId])
}
enum CredentialsType {
GOOGLE_SHEETS
}
enum Plan {