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)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key | |
| ListingId | uuid | not null, references Listings.Id | |
| Status | varchar(50) | not null | |
| Reason | varchar(300) | not null | |
| FlaggedAt | timestamptz | not null | |
| FlaggedMrrCents | bigint | not null | |
| FlaggedCurrency | varchar(3) | not null | |
| ApprovedMrrCents | bigint | ||
| ApprovedCurrency | varchar(3) | ||
| ReviewedById | uuid | references AspNetUsers.Id | |
| ReviewedAt | timestamptz | ||
| Note | varchar(500) |
Indexes (3)
(ListingId)unique (IX_RevenueReviews_ListingId)(ReviewedById)(IX_RevenueReviews_ReviewedById)(Status, FlaggedAt)(IX_RevenueReviews_Status_FlaggedAt)
Relationships
RevenueReviews.ListingIdreferencesListings.IdRevenueReviews.ReviewedByIdreferencesAspNetUsers.Id