ListingViews table

The ListingViews table in the Shipfolio schema has 5 columns, keyed by Id, with 1 foreign key to Listings.

Columns (5)

Columns of the ListingViews table
ColumnTypeConstraintsDescription
Iduuidprimary key
ListingIduuidnot null, references Listings.Id
InvestorUserIduuidnot null
Daydatenot null
CreatedAttimestamptznot null

Indexes (2)

  • (ListingId, Day) (IX_ListingViews_ListingId_Day)
  • (ListingId, InvestorUserId, Day) unique (IX_ListingViews_ListingId_InvestorUserId_Day)

Relationships