RevenueMilestones table
The RevenueMilestones table in the Shipfolio schema has 5 columns, keyed by Id, with 1 foreign key to Listings.
Columns (5)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key | |
| ListingId | uuid | not null, references Listings.Id | |
| MilestoneCents | bigint | not null | |
| ReachedAt | timestamptz | not null | |
| AlertedAt | timestamptz |
Indexes (2)
(ListingId, MilestoneCents)unique (IX_RevenueMilestones_ListingId_MilestoneCents)(ReachedAt)(IX_RevenueMilestones_ReachedAt)
Relationships
RevenueMilestones.ListingIdreferencesListings.Id