DealOffers table
The DealOffers table in the Shipfolio schema has 10 columns, keyed by Id, with 1 foreign key to Deals.
Columns (10)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key | |
| DealId | uuid | not null, references Deals.Id | |
| ById | uuid | not null | |
| AmountCents | bigint | not null | |
| Message | varchar(1000) | ||
| Status | varchar(50) | not null | |
| ExpiresAt | timestamptz | not null | |
| AnsweredAt | timestamptz | ||
| CreatedAt | timestamptz | not null | |
| UpdatedAt | timestamptz | not null |
Indexes (2)
(DealId, CreatedAt)(IX_DealOffers_DealId_CreatedAt)(Status, ExpiresAt)(IX_DealOffers_Status_ExpiresAt)
Relationships
DealOffers.DealIdreferencesDeals.Id