RevenueReviews table

The RevenueReviews table in the Shipfolio schema has 12 columns, keyed by Id, with 2 foreign keys to Listings and AspNetUsers.

Columns (12)

Columns of the RevenueReviews table
ColumnTypeConstraintsDescription
Iduuidprimary key
ListingIduuidnot null, references Listings.Id
Statusvarchar(50)not null
Reasonvarchar(300)not null
FlaggedAttimestamptznot null
FlaggedMrrCentsbigintnot null
FlaggedCurrencyvarchar(3)not null
ApprovedMrrCentsbigint
ApprovedCurrencyvarchar(3)
ReviewedByIduuidreferences AspNetUsers.Id
ReviewedAttimestamptz
Notevarchar(500)

Indexes (3)

  • (ListingId) unique (IX_RevenueReviews_ListingId)
  • (ReviewedById) (IX_RevenueReviews_ReviewedById)
  • (Status, FlaggedAt) (IX_RevenueReviews_Status_FlaggedAt)

Relationships