TimedOffers table
The TimedOffers table in the Shipfolio schema has 13 columns, keyed by Id, with 3 foreign keys to Companies, Listings and Launches.
Columns (13)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key | |
| Kind | varchar(50) | not null | |
| CompanyId | uuid | not null, references Companies.Id | |
| ListingId | uuid | not null, references Listings.Id | |
| LaunchId | uuid | references Launches.Id | |
| PercentOff | integer | not null | |
| CreatedAt | timestamptz | not null | |
| ClosesBy | timestamptz | ||
| ShownAt | timestamptz | ||
| ShownById | uuid | ||
| ExpiresAt | timestamptz | ||
| RedeemedAt | timestamptz | ||
| DismissedAt | timestamptz |
Indexes (1)
(ListingId)(IX_TimedOffers_ListingId)
Relationships
TimedOffers.CompanyIdreferencesCompanies.IdTimedOffers.ListingIdreferencesListings.IdTimedOffers.LaunchIdreferencesLaunches.Id