ReviewInvites table

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

Columns (13)

Columns of the ReviewInvites table
ColumnTypeConstraintsDescription
Iduuidprimary key
ListingIduuidnot null, references Listings.Id
Emailvarchar(256)not null
TokenHashvarchar(64)not null
SentByuuidnot null
ExpiresAttimestamptznot null
AcceptedAttimestamptz
ReviewIduuid
CreatedAttimestamptznot null
UpdatedAttimestamptznot null
Deliveryvarchar(50)not null
DeliveryUpdatedAttimestamptz
EmailIdvarchar(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