DealOffers table

The DealOffers table in the Shipfolio schema has 10 columns, keyed by Id, with 1 foreign key to Deals.

Columns (10)

Columns of the DealOffers table
ColumnTypeConstraintsDescription
Iduuidprimary key
DealIduuidnot null, references Deals.Id
ByIduuidnot null
AmountCentsbigintnot null
Messagevarchar(1000)
Statusvarchar(50)not null
ExpiresAttimestamptznot null
AnsweredAttimestamptz
CreatedAttimestamptznot null
UpdatedAttimestamptznot null

Indexes (2)

  • (DealId, CreatedAt) (IX_DealOffers_DealId_CreatedAt)
  • (Status, ExpiresAt) (IX_DealOffers_Status_ExpiresAt)

Relationships