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 |
|
|
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 |