MetricSnapshots table
The MetricSnapshots table in the Shipfolio schema has 14 columns, keyed by Id, with 1 foreign key to Listings.
Columns (14)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key | |
| ListingId | uuid | not null, references Listings.Id | |
| Provider | varchar(50) | not null | |
| CapturedOn | date | not null | |
| Downloads | bigint | ||
| Purchases | bigint | ||
| RevenueCents | bigint | ||
| ActiveSubscriptions | bigint | ||
| ActiveUsers | bigint | ||
| Sessions | bigint | ||
| CreatedAt | timestamptz | not null | |
| SearchClicks | bigint | ||
| SearchImpressions | bigint | ||
| SearchPositionTenths | integer |
Indexes (1)
(ListingId, Provider, CapturedOn)unique (IX_MetricSnapshots_ListingId_Provider_CapturedOn)
Relationships
MetricSnapshots.ListingIdreferencesListings.Id