SearchPositions table
The SearchPositions table in the Shipfolio schema has 10 columns, keyed by Id, with 1 foreign key to Listings.
Columns (10)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key | |
| ListingId | uuid | not null, references Listings.Id | |
| Key | varchar(120) | not null | |
| Week | date | not null | |
| Position | integer | ||
| Url | varchar(2000) | ||
| Source | varchar(50) | not null | |
| Clicks | bigint | ||
| Impressions | bigint | ||
| CheckedAt | timestamptz | not null |
Indexes (2)
(ListingId, Key, Week)unique (IX_SearchPositions_ListingId_Key_Week)(ListingId, Week)(IX_SearchPositions_ListingId_Week)
Relationships
SearchPositions.ListingIdreferencesListings.Id