sourceControlInstallations
Source Control Installations — Provider installations per Clerk organization
Fields
Section titled “Fields”| Field | Type | Required | Description |
|---|---|---|---|
| orgId | string | Yes | Organization ID for multi-tenant isolation |
| providerType | v.literal(“github”) | Yes | |
| installationId | string | Yes | |
| accountLogin | string | Yes | |
| accountType | ”organization” | “user” | Yes | |
| status | ”active” | “suspended” | “disconnected” | Yes | |
| permissions | any | Yes | |
| installedAt | number | Yes | |
| disconnectedAt | number | No |
Indexes
Section titled “Indexes”| Name | Fields |
|---|---|
| by_org | orgId |
| by_installation | installationId |