FeedPostViews table
The FeedPostViews table in the FitStack - V2 schema has 4 columns, keyed by Id, with 2 foreign keys to FeedPosts and Users.
Columns (4)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key, not null | |
| PostId | uuid | not null, references FeedPosts.Id | |
| ViewedById | text | not null, references Users.Id | |
| ViewedAt | timestamp with time zone | not null |
Relationships
FeedPostViews.PostIdreferencesFeedPosts.IdFeedPostViews.ViewedByIdreferencesUsers.Id