Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
---|---|---|---|---|---|---|---|---|---|---|---|
id | bigserial | 19 | √ | nextval('app_badge_issued_id_seq'::regclass) |
|
|
|||||
badgeid | int8 | 19 | 0 |
|
|
||||||
userid | int8 | 19 | 0 |
|
|
||||||
uniquehash | text | 2147483647 | null |
|
|
||||||
dateissued | int8 | 19 | 0 |
|
|
||||||
dateexpire | int8 | 19 | √ | null |
|
|
|||||
visible | int2 | 5 | 0 |
|
|
||||||
issuernotified | int8 | 19 | √ | null |
|
|
Indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
app_badgissu_id_pk | Primary key | Asc | id |
app_badgissu_bad_ix | Performance | Asc | badgeid |
app_badgissu_baduse_uix | Must be unique | Asc/Asc | badgeid + userid |
app_badgissu_use_ix | Performance | Asc | userid |