Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments |
---|---|---|---|---|---|---|---|---|
id | bigserial | 19 | √ | nextval('app_forum_read_id_seq'::regclass) |
|
|
||
userid | int8 | 19 | 0 |
|
|
|||
forumid | int8 | 19 | 0 |
|
|
|||
discussionid | int8 | 19 | 0 |
|
|
|||
postid | int8 | 19 | 0 |
|
|
|||
firstread | int8 | 19 | 0 |
|
|
|||
lastread | int8 | 19 | 0 |
|
|
Indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
app_foruread_id_pk | Primary key | Asc | id |
app_foruread_posuse_ix | Performance | Asc/Asc | postid + userid |
app_foruread_usedis_ix | Performance | Asc/Asc | userid + discussionid |
app_foruread_usefor_ix | Performance | Asc/Asc | userid + forumid |