Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| id | bigserial | 19 | √ | nextval('messages_id_seq'::regclass) |
|
|
|||||
| agent_id | uuid | 2147483647 | null |
|
|
||||||
| direction | text | 2147483647 | null |
|
|
||||||
| peer_agent_id | uuid | 2147483647 | √ | null |
|
|
|||||
| text | text | 2147483647 | null |
|
|
||||||
| tokens_in | int8 | 19 | √ | null |
|
|
|||||
| tokens_out | int8 | 19 | √ | null |
|
|
|||||
| created_at | timestamptz | 35,6 | now() |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| messages_pkey | Primary key | Asc | id |
| idx_messages_agent | Performance | Asc/Asc | agent_id + id |