badges table
The badges table in the Forum Database Schema schema has 6 columns, keyed by id. 1 column in user_badges references it.
The catalog of awardable badges. Criteria live in application code; this table only names the award.
Columns (6)
| Column | Type | Constraints | Description |
|---|---|---|---|
| id | uuid | primary key | |
| code | varchar(40) | unique, not null | |
| name | varchar(80) | not null | |
| description | varchar(255) | ||
| tier | badge_tier | not null | |
| icon | varchar(60) |
Relationships
user_badges.badge_idreferencesbadges