MetricsConnections table

The MetricsConnections table in the Shipfolio schema has 19 columns, keyed by Id, with 1 foreign key to Listings.

Columns (19)

Columns of the MetricsConnections table
ColumnTypeConstraintsDescription
Iduuidprimary key
ListingIduuidnot null, references Listings.Id
Providervarchar(50)not null
ExternalIdvarchar(255)not null
Accountvarchar(255)
ProtectedCredentialtext
IncludesStripebooleannot null
Statusvarchar(50)not null
ConnectedAttimestamptznot null
LastSyncedAttimestamptz
LastErrorvarchar(500)
CreatedAttimestamptznot null
UpdatedAttimestamptznot null
LastWebhookAttimestamptz
RefreshRequestedAttimestamptz
WebhookSecretHashvarchar(64)
AlertSentvarchar(50)not null
FailingSincetimestamptz
GoogleEmailvarchar(320)

Indexes (1)

  • (ListingId, Provider) unique (IX_MetricsConnections_ListingId_Provider)

Relationships