MetricsConnections table
The MetricsConnections table in the Shipfolio schema has 19 columns, keyed by Id, with 1 foreign key to Listings.
Columns (19)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key | |
| ListingId | uuid | not null, references Listings.Id | |
| Provider | varchar(50) | not null | |
| ExternalId | varchar(255) | not null | |
| Account | varchar(255) | ||
| ProtectedCredential | text | ||
| IncludesStripe | boolean | not null | |
| Status | varchar(50) | not null | |
| ConnectedAt | timestamptz | not null | |
| LastSyncedAt | timestamptz | ||
| LastError | varchar(500) | ||
| CreatedAt | timestamptz | not null | |
| UpdatedAt | timestamptz | not null | |
| LastWebhookAt | timestamptz | ||
| RefreshRequestedAt | timestamptz | ||
| WebhookSecretHash | varchar(64) | ||
| AlertSent | varchar(50) | not null | |
| FailingSince | timestamptz | ||
| GoogleEmail | varchar(320) |
Indexes (1)
(ListingId, Provider)unique (IX_MetricsConnections_ListingId_Provider)
Relationships
MetricsConnections.ListingIdreferencesListings.Id