post_insights_daily table

The post_insights_daily table in the Reddit Clone Database Schema schema has 7 columns, with 1 foreign key to posts.

What the author sees on their own post. Kept apart from post_views because these are product analytics with a retention policy, while view counts are a permanent display number.

Columns (7)

Columns of the post_insights_daily table
ColumnTypeConstraintsDescription
post_iduuidnot null, references posts.id
measured_ondatenot null
impressionsintegernot null
unique_viewersintegernot null
expandsintegernot null
sharesintegernot null
upvote_ratiodoublenot null

Relationships

  • post_insights_daily.post_id references posts.id