trophies table

The trophies table in the Reddit Clone Database Schema schema has 6 columns, keyed by id. 1 column in user_trophies references it.

The catalog of awardable trophies. Criteria live in application code; this table only names the award and says whether a human grants it.

Columns (6)

Columns of the trophies table
ColumnTypeConstraintsDescription
iduuidprimary key
codevarchar(40)unique, not null
namevarchar(80)not null
descriptionvarchar(255)
icon_urlvarchar(500)
is_automaticbooleannot null

Relationships