Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
---|---|---|---|---|---|---|---|---|---|---|---|
id | serial | 10 | √ | nextval('agent_relation_id_seq'::regclass) |
|
|
|||||
agent_id | int4 | 10 | null |
|
|
||||||
object_type | object_type | 2147483647 | null |
|
|
||||||
object_id | int4 | 10 | null |
|
|
||||||
type | varchar | 64 | √ | null |
|
|
|||||
has_control | bool | 1 | false |
|
|
||||||
create_timestamp | timestamp | 29,6 | √ | null |
|
|
|||||
status | int2 | 5 | √ | null |
|
|
|||||
metadata | json | 2147483647 | √ | null |
|
|
Indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
agent_relation_pkey | Primary key | Asc | id |
agent_relation_has_control | Performance | Asc | has_control |
agent_relation_owner | Performance | Asc/Asc | object_type + object_id |
agent_relation_owner_agent | Performance | Asc/Asc/Asc | object_type + object_id + agent_id |
agent_relation_owner_id | Performance | Asc | object_id |
agent_relation_owner_type | Performance | Asc | object_type |
agent_relation_status | Performance | Asc | status |