PlanViewDurations table
The PlanViewDurations table in the FitStack - V2 schema has 13 columns, keyed by Id, with 2 foreign keys to Users.
Columns (13)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key, not null | |
| ViewerUserId | text | not null, references Users.Id | |
| SellerUserId | text | not null, references Users.Id | |
| PlanType | integer | not null | |
| PlanId | uuid | not null | |
| DurationMs | integer | not null | |
| ScrolledToBottom | boolean | not null | |
| EnteredAt | timestamp with time zone | not null | |
| ExitedAt | timestamp with time zone | not null | |
| CreatedAt | timestamp with time zone | not null | |
| ModifiedAt | timestamp with time zone | ||
| IsDeleted | boolean | not null | |
| DeletedAt | timestamp with time zone |