ListingHits table
The ListingHits table in the Shipfolio schema has 8 columns, keyed by Id, with 1 foreign key to Listings.
Columns (8)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | bigint | primary key | |
| ListingId | uuid | not null, references Listings.Id | |
| Day | date | not null | |
| Kind | varchar(50) | not null | |
| Target | varchar(20) | ||
| Visitor | varchar(64) | not null | |
| ReferrerHost | varchar(253) | ||
| At | timestamptz | not null |
Indexes (2)
(ListingId, Day, Kind, Target, Visitor)unique (IX_ListingHits_ListingId_Day_Kind_Target_Visitor)(ListingId, Kind, Day)(IX_ListingHits_ListingId_Kind_Day)
Relationships
ListingHits.ListingIdreferencesListings.Id