ListingViews table
The ListingViews table in the Shipfolio schema has 5 columns, keyed by Id, with 1 foreign key to Listings.
Columns (5)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key | |
| ListingId | uuid | not null, references Listings.Id | |
| InvestorUserId | uuid | not null | |
| Day | date | not null | |
| CreatedAt | timestamptz | not null |
Indexes (2)
(ListingId, Day)(IX_ListingViews_ListingId_Day)(ListingId, InvestorUserId, Day)unique (IX_ListingViews_ListingId_InvestorUserId_Day)
Relationships
ListingViews.ListingIdreferencesListings.Id