post_hashtags table

The post_hashtags table in the Social Media Database Schema schema has 2 columns, with 2 foreign keys to posts and hashtags.

Columns (2)

Columns of the post_hashtags table
ColumnTypeConstraintsDescription
post_iduuidnot null, references posts.id
hashtag_iduuidnot null, references hashtags.id

Indexes (1)

  • (hashtag_id)

Relationships