chat_reactions table

The chat_reactions table in the Reddit Clone Database Schema schema has 4 columns, with 2 foreign keys to chat_messages and users.

Columns (4)

Columns of the chat_reactions table
ColumnTypeConstraintsDescription
message_iduuidnot null, references chat_messages.id
user_iduuidnot null, references users.id
emojivarchar(40)not null
created_attimestamptznot null

Relationships