Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
---|---|---|---|---|---|---|---|---|---|---|---|
id | bigserial | 19 | √ | nextval('app_chat_messages_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_chatmess_id_pk | Primary key | Asc | id |
app_chatmess_cha_ix | Performance | Asc | chatid |
app_chatmess_gro_ix | Performance | Asc | groupid |
app_chatmess_timcha_ix | Performance | Asc/Asc | timestamp + chatid |
app_chatmess_use_ix | Performance | Asc | userid |