collection_posts table

The collection_posts table in the Reddit Clone Database Schema schema has 3 columns, with 2 foreign keys to collections and posts.

Columns (3)

Columns of the collection_posts table
ColumnTypeConstraintsDescription
collection_iduuidnot null, references collections.id
post_iduuidnot null, references posts.id
positionsmallintnot null

Indexes (1)

  • (post_id)

Relationships