reposts table
The reposts table in the Social Media Database Schema schema has 5 columns, keyed by id, with 2 foreign keys to posts and users.
A null comment is a plain repost; a non-null one is a quote. Both fan out to followers.
Columns (5)
Indexes (2)
(post_id, user_id)unique(user_id, created_at)