RevenueMilestones table

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

Columns (5)

Columns of the RevenueMilestones table
ColumnTypeConstraintsDescription
Iduuidprimary key
ListingIduuidnot null, references Listings.Id
MilestoneCentsbigintnot null
ReachedAttimestamptznot null
AlertedAttimestamptz

Indexes (2)

  • (ListingId, MilestoneCents) unique (IX_RevenueMilestones_ListingId_MilestoneCents)
  • (ReachedAt) (IX_RevenueMilestones_ReachedAt)

Relationships