Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||
---|---|---|---|---|---|---|---|---|---|---|
id | bigserial | 19 | √ | nextval('app_chat_messages_current_id_seq'::regclass) |
|
|
||||
chatid | int8 | 19 | 0 |
|
|
|||||
userid | int8 | 19 | 0 |
|
|
|||||
groupid | int8 | 19 | 0 |
|
|
|||||
issystem | int2 | 5 | 0 |
|
|
|||||
message | text | 2147483647 | null |
|
|
|||||
timestamp | int8 | 19 | 0 |
|
|
Indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
app_chatmesscurr_id_pk | Primary key | Asc | id |
app_chatmesscurr_cha_ix | Performance | Asc | chatid |
app_chatmesscurr_gro_ix | Performance | Asc | groupid |
app_chatmesscurr_timcha_ix | Performance | Asc/Asc | timestamp + chatid |
app_chatmesscurr_use_ix | Performance | Asc | userid |