RevenueConnections table

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

Columns (20)

Columns of the RevenueConnections table
ColumnTypeConstraintsDescription
Iduuidprimary key
ListingIduuidnot null, references Listings.Id
StripeAccountIdvarchar(255)not null
Statusvarchar(50)not null
ConnectedAttimestamptznot null
LastSyncedAttimestamptz
LastErrorvarchar(500)
CreatedAttimestamptznot null
UpdatedAttimestamptznot null
LastCurrencytext
LastCustomerCountinteger
LastMixedCurrencybooleannot null
LastMrrCentsbigint
ProtectedKeyvarchar(2048)
LastWebhookAttimestamptz
ProtectedWebhookSecretvarchar(2048)
RefreshRequestedAttimestamptz
Kindvarchar(50)not null
AlertSentvarchar(50)not null
FailingSincetimestamptz

Indexes (2)

  • (ListingId) unique (IX_RevenueConnections_ListingId)
  • (StripeAccountId) (IX_RevenueConnections_StripeAccountId)

Relationships