PartnershipOffers table

The PartnershipOffers table in the Shipfolio schema has 14 columns, keyed by Id, with 3 foreign keys to Listings and AspNetUsers. 3 columns in PartnershipAsks, PartnershipGives and PartnershipSignatures reference it.

Columns (14)

Columns of the PartnershipOffers table
ColumnTypeConstraintsDescription
Iduuidprimary key
ListingIduuidnot null, references Listings.Id
RecipientUserIduuidnot null, references AspNetUsers.Id
CreatedByIduuidnot null, references AspNetUsers.Id
Statusvarchar(50)not null
Notevarchar(2000)not null
SentAttimestamptznot null
ExpiresAttimestamptznot null
RespondedAttimestamptz
DeclineReasonvarchar(500)
CreatedAttimestamptznot null
UpdatedAttimestamptznot null
Termsvarchar(8000)
TermsSha256varchar(64)

Indexes (3)

  • (CreatedById) (IX_PartnershipOffers_CreatedById)
  • (RecipientUserId) (IX_PartnershipOffers_RecipientUserId)
  • (Status, ExpiresAt) (IX_PartnershipOffers_Status_ExpiresAt)

Relationships