Skip to content

SourceConnector

reference
1 min readUpdated

Kind: Database Model

Source: atloria-monorepo/libs/database/prisma/schema.prisma

Fields

FieldTypeRequiredKey
idStringPK
projectIdString
organizationIdString
typeConnectorType
configJson
cursorString-
enabledBoolean
syncIntervalMinutesInt
statusString
lastErrorString-
lastSyncedAtDateTime-
lastItemCountInt-
createdByIdString
createdAtDateTime
updatedAtDateTime

Diagram

mermaid
erDiagram
    SourceConnector {
        id String [PK]
        projectId String
        organizationId String
        type ConnectorType
        config Json
        cursor String?
        enabled Boolean
        syncIntervalMinutes Int
        status String
        lastError String?
        lastSyncedAt DateTime?
        lastItemCount Int?
        createdById String
        createdAt DateTime
        updatedAt DateTime
    }
    SourceConnector ||--|| Project : ""
    SourceConnector ||--|| Organization : ""

Relationships

  • HAS_ONE → Project
  • HAS_ONE → Organization

Was this page helpful?

Download as PDF