ListingStripePrices table
The ListingStripePrices table in the Shipfolio schema has 14 columns, keyed by Id, with 1 foreign key to Listings.
Columns (14)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key | |
| ListingId | uuid | not null, references Listings.Id | |
| StripePriceId | varchar(255) | not null | |
| Currency | varchar(3) | not null | |
| UnitAmountCents | bigint | not null | |
| Interval | varchar(10) | not null | |
| IntervalCount | integer | not null | |
| ActiveSubscriptions | integer | not null | |
| TrialingSubscriptions | integer | not null | |
| TotalSubscriptions | integer | not null | |
| FirstStartedAt | timestamptz | not null | |
| LastStartedAt | timestamptz | not null | |
| PriceCreatedAt | timestamptz | not null | |
| SeenAt | timestamptz | not null |
Indexes (1)
(ListingId, StripePriceId)unique (IX_ListingStripePrices_ListingId_StripePriceId)
Relationships
ListingStripePrices.ListingIdreferencesListings.Id