CloudCostConnections table
The CloudCostConnections table in the Shipfolio schema has 33 columns, keyed by Id, with 1 foreign key to Listings.
Columns (33)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key | |
| ListingId | uuid | not null, references Listings.Id | |
| Provider | varchar(50) | not null | |
| ExternalId | varchar(64) | not null | |
| Status | varchar(50) | not null | |
| RoleArn | varchar(2048) | ||
| ProjectId | varchar(64) | ||
| DatasetId | varchar(1024) | ||
| TableId | varchar(1024) | ||
| TenantId | varchar(64) | ||
| SubscriptionId | varchar(64) | ||
| AllocationNote | varchar(200) | ||
| ConnectedAt | timestamptz | ||
| LastCheckedAt | timestamptz | ||
| LastSyncedAt | timestamptz | ||
| FailingSince | timestamptz | ||
| LastError | varchar(500) | ||
| CreatedAt | timestamptz | not null | |
| UpdatedAt | timestamptz | not null | |
| AccessTokenExpiresAt | timestamptz | ||
| AccountId | varchar(200) | ||
| AccountLabel | varchar(200) | ||
| Auth | varchar(50) | not null | |
| ProtectedAccessToken | text | ||
| ProtectedApiToken | text | ||
| ProtectedRefreshToken | text | ||
| QueryProjectId | varchar(64) | ||
| ScopeIds | text[] | not null | |
| AlertSent | varchar(50) | not null | |
| AwaitingData | boolean | not null | |
| AuthorizedById | uuid | ||
| ConsentId | uuid | ||
| GoogleEmail | varchar(320) |
Indexes (2)
(ExternalId)unique (IX_CloudCostConnections_ExternalId)(ListingId, Provider)unique (IX_CloudCostConnections_ListingId_Provider)
Relationships
CloudCostConnections.ListingIdreferencesListings.Id