live_thread_updates table

The live_thread_updates table in the Reddit Clone Database Schema schema has 6 columns, keyed by id, with 2 foreign keys to live_threads and users.

is_stricken rather than a delete, because retracting an update during a breaking event must leave the correction visible.

Columns (6)

Columns of the live_thread_updates table
ColumnTypeConstraintsDescription
iduuidprimary key
live_thread_iduuidnot null, references live_threads.id
author_iduuidreferences users.id
body_mdtextnot null
is_strickenbooleannot null
created_attimestamptznot null

Indexes (1)

  • (live_thread_id, created_at)

Relationships