badge_issued table columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||
---|---|---|---|---|---|---|---|---|---|---|
id | BIGINT | 19 | √ | null |
|
|
||||
badgeid | BIGINT | 19 | 0 |
|
|
|||||
userid | BIGINT | 19 | 0 |
|
|
|||||
uniquehash | LONGTEXT | 2147483647 | null |
|
|
|||||
dateissued | BIGINT | 19 | 0 |
|
|
|||||
dateexpire | BIGINT | 19 | √ | null |
|
|
||||
visible | BIT | 1 | 0 |
|
|
|||||
issuernotified | BIGINT | 19 | √ | null |
|
|
Table contained -1 rows
badge_issued table indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
PRIMARY | Primary key | Asc | id |
badgissu_bad_ix | Performance | Asc | badgeid |
badgissu_baduse_uix | Must be unique | Asc/Asc | badgeid + userid |
badgissu_use_ix | Performance | Asc | userid |