# badge_related

0 rows

### Description

Defines badge related for badges

### Columns

Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments
--- | --- | --- | --- | --- | --- | --- | --- | ---
id | BIGINT | 19 |  | √ | null |  |  |
badgeid | BIGINT | 19 |  |  | 0 |  |
badge.id | badgrela_bad2_fkR
relatedbadgeid | BIGINT | 19 | √ |  | null |  |
badge.id | badgrela_rel2_fkR

### Indexes

Constraint Name | Type | Sort | Column(s)
--- | --- | --- | ---
PRIMARY | Primary key | Asc | id
badgrela_bad_ix | Performance | Asc | badgeid
badgrela_badrel_uix | Must be unique | Asc/Asc | badgeid + relatedbadgeid
badgrela_rel_ix | Performance | Asc | relatedbadgeid

### Relationships