GitHubInstallations table
The GitHubInstallations table in the Shipfolio schema has 10 columns, keyed by Id, with 1 foreign key to Companies. 1 column in GitHubFeeds references it.
Columns (10)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key | |
| InstallationId | bigint | not null | |
| CompanyId | uuid | not null, references Companies.Id | |
| AccountLogin | varchar(100) | not null | |
| AccountType | varchar(20) | not null | |
| ConnectedById | uuid | ||
| Status | varchar(50) | not null | |
| RemovedAt | timestamptz | ||
| CreatedAt | timestamptz | not null | |
| UpdatedAt | timestamptz | not null |
Indexes (3)
(CompanyId, InstallationId)unique (IX_GitHubInstallations_CompanyId_InstallationId)(ConnectedById)(IX_GitHubInstallations_ConnectedById)(InstallationId)(IX_GitHubInstallations_InstallationId)
Relationships
GitHubInstallations.CompanyIdreferencesCompanies.IdGitHubFeeds.GitHubInstallationIdreferencesGitHubInstallations