ProductUpdates table
The ProductUpdates table in the Shipfolio schema has 17 columns, keyed by Id, with 2 foreign keys to Listings and AspNetUsers.
Columns (17)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key | |
| ListingId | uuid | not null, references Listings.Id | |
| Week | date | not null | |
| Title | varchar(120) | not null | |
| Body | varchar(4000) | not null | |
| StatsJson | jsonb | not null | |
| Status | varchar(50) | not null | |
| ShareTraffic | boolean | not null | |
| ShareCloudCost | boolean | not null | |
| Edited | boolean | not null | |
| PublishedAt | timestamptz | ||
| PublishedById | uuid | references AspNetUsers.Id | |
| CreatedAt | timestamptz | not null | |
| UpdatedAt | timestamptz | not null | |
| DrafterVersion | integer | not null | |
| LinesJson | jsonb | not null | |
| Summary | varchar(280) |
Indexes (3)
(ListingId, Week)unique (IX_ProductUpdates_ListingId_Week)(PublishedById)(IX_ProductUpdates_PublishedById)(Status, PublishedAt)(IX_ProductUpdates_Status_PublishedAt)
Relationships
ProductUpdates.ListingIdreferencesListings.IdProductUpdates.PublishedByIdreferencesAspNetUsers.Id