DealEvents table
The DealEvents table in the Shipfolio schema has 8 columns, keyed by Id, with 1 foreign key to Deals.
Columns (8)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key | |
| DealId | uuid | not null, references Deals.Id | |
| ActorId | uuid | not null | |
| Kind | varchar(50) | not null | |
| Detail | varchar(300) | ||
| At | timestamptz | not null | |
| CreatedAt | timestamptz | not null | |
| UpdatedAt | timestamptz | not null |
Indexes (1)
(DealId, At)(IX_DealEvents_DealId_At)
Relationships
DealEvents.DealIdreferencesDeals.Id