Skip to content

Commit

Permalink
💚 Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
mit-27 committed Sep 17, 2024
1 parent 79f357a commit a992351
Showing 1 changed file with 32 additions and 15 deletions.
47 changes: 32 additions & 15 deletions packages/api/prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -1300,21 +1300,22 @@ model connection_strategies {

/// This model or at least one of its fields has comments in the database, and requires an additional setup for migrations: Read more: https://pris.ly/d/database-comments
model connections {
id_connection String @id(map: "pk_connections") @db.Uuid
status String
provider_slug String
vertical String
account_url String?
token_type String
access_token String?
refresh_token String?
expiration_timestamp DateTime? @db.Timestamptz(6)
created_at DateTime @db.Timestamptz(6)
connection_token String?
id_project String @db.Uuid
id_linked_user String @db.Uuid
linked_users linked_users @relation(fields: [id_linked_user], references: [id_linked_user], onDelete: NoAction, onUpdate: NoAction, map: "fk_11")
projects projects @relation(fields: [id_project], references: [id_project], onDelete: NoAction, onUpdate: NoAction, map: "fk_9")
id_connection String @id(map: "pk_connections") @db.Uuid
status String
provider_slug String
vertical String
account_url String?
token_type String
access_token String?
refresh_token String?
expiration_timestamp DateTime? @db.Timestamptz(6)
created_at DateTime @db.Timestamptz(6)
connection_token String?
id_project String @db.Uuid
id_linked_user String @db.Uuid
linked_users linked_users @relation(fields: [id_linked_user], references: [id_linked_user], onDelete: NoAction, onUpdate: NoAction, map: "fk_11")
projects projects @relation(fields: [id_project], references: [id_project], onDelete: NoAction, onUpdate: NoAction, map: "fk_9")
vertical_objects_sync_track_data vertical_objects_sync_track_data[]
@@index([id_project], map: "fk_1")
@@index([id_linked_user], map: "fk_connections_to_linkedusersid")
Expand Down Expand Up @@ -1346,6 +1347,11 @@ model connector_sets {
ats_ashby Boolean?
ecom_webflow Boolean?
crm_microsoftdynamicssales Boolean?
fs_dropbox Boolean?
fs_googledrive Boolean?
fs_sharepoint Boolean?
fs_onedrive Boolean?
crm_salesforce Boolean?
projects projects[]
}

Expand Down Expand Up @@ -2144,3 +2150,14 @@ model projects_pull_frequency {
id_project String @unique(map: "uq_projects_pull_frequency_project") @db.Uuid
projects projects @relation(fields: [id_project], references: [id_project], onDelete: NoAction, onUpdate: NoAction, map: "fk_projects_pull_frequency_project")
}

model vertical_objects_sync_track_data {
id_vertical_objects_sync_track_data String @id(map: "pk_vertical_objects_sync_track_data") @db.Uuid
vertical String
provider_slug String
object String
pagination_type String
id_connection String @db.Uuid
data Json? @db.Json
connections connections @relation(fields: [id_connection], references: [id_connection], onDelete: NoAction, onUpdate: NoAction, map: "fk_connection")
}

0 comments on commit a992351

Please sign in to comment.