ReviewInvites table
The ReviewInvites table in the Shipfolio schema has 13 columns, keyed by Id, with 1 foreign key to Listings.
Columns (13)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key | |
| ListingId | uuid | not null, references Listings.Id | |
| varchar(256) | not null | ||
| TokenHash | varchar(64) | not null | |
| SentBy | uuid | not null | |
| ExpiresAt | timestamptz | not null | |
| AcceptedAt | timestamptz | ||
| ReviewId | uuid | ||
| CreatedAt | timestamptz | not null | |
| UpdatedAt | timestamptz | not null | |
| Delivery | varchar(50) | not null | |
| DeliveryUpdatedAt | timestamptz | ||
| EmailId | varchar(80) |
Indexes (4)
(EmailId)(IX_ReviewInvites_EmailId)(ListingId, Email)(IX_ReviewInvites_ListingId_Email)(SentBy, CreatedAt)(IX_ReviewInvites_SentBy_CreatedAt)(TokenHash)unique (IX_ReviewInvites_TokenHash)
Relationships
ReviewInvites.ListingIdreferencesListings.Id