DataModelConnections table
The DataModelConnections table in the Shipfolio schema has 29 columns, keyed by Id, with 2 foreign keys to Listings and AspNetUsers.
Columns (29)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key | |
| ListingId | uuid | not null, references Listings.Id | |
| ConnectedById | uuid | references AspNetUsers.Id | |
| ConnectedAt | timestamptz | not null | |
| ProtectedAccessToken | text | ||
| ProtectedRefreshToken | text | ||
| AccessTokenExpiresAt | timestamptz | not null | |
| ProjectId | uuid | ||
| ProjectName | varchar(200) | not null | |
| OrgId | uuid | ||
| OrgName | varchar(200) | not null | |
| DocsSlug | varchar(120) | ||
| PublicBoardId | uuid | ||
| Visibility | varchar(50) | not null | |
| AddedToStack | boolean | not null | |
| BoardUpdatedAt | timestamptz | ||
| ImageUrl | varchar(1000) | ||
| ImageWidth | integer | ||
| ImageHeight | integer | ||
| ImageFor | timestamptz | ||
| ReadAt | timestamptz | ||
| CheckedAt | timestamptz | ||
| Status | varchar(50) | not null | |
| FailingSince | timestamptz | ||
| AlertSent | varchar(50) | not null | |
| LastError | varchar(300) | ||
| CreatedAt | timestamptz | not null | |
| UpdatedAt | timestamptz | not null | |
| Summary | jsonb |
Indexes (4)
(ConnectedById)(IX_DataModelConnections_ConnectedById)(DocsSlug)(IX_DataModelConnections_DocsSlug)(ListingId)unique (IX_DataModelConnections_ListingId)(Status, CheckedAt)(IX_DataModelConnections_Status_CheckedAt)
Relationships
DataModelConnections.ListingIdreferencesListings.IdDataModelConnections.ConnectedByIdreferencesAspNetUsers.Id