Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| id | serial | 10 | √ | nextval('agent_id_seq'::regclass) |
|
|
|||||||||||||||||||||||||||||||||||||||||
| parent_id | int4 | 10 | √ | null |
|
|
|||||||||||||||||||||||||||||||||||||||||
| user_id | int4 | 10 | null |
|
|
||||||||||||||||||||||||||||||||||||||||||
| type | int2 | 5 | null |
|
|
||||||||||||||||||||||||||||||||||||||||||
| name | varchar | 255 | null |
|
|
||||||||||||||||||||||||||||||||||||||||||
| location | point | 2147483647 | √ | null |
|
|
type=POINT |
||||||||||||||||||||||||||||||||||||||||
| _geo_location | geography | 2147483647 | √ | null |
|
|
|||||||||||||||||||||||||||||||||||||||||
| short_description | text | 2147483647 | √ | null |
|
|
|||||||||||||||||||||||||||||||||||||||||
| long_description | text | 2147483647 | √ | null |
|
|
|||||||||||||||||||||||||||||||||||||||||
| create_timestamp | timestamp | 29,6 | null |
|
|
||||||||||||||||||||||||||||||||||||||||||
| status | int2 | 5 | null |
|
|
||||||||||||||||||||||||||||||||||||||||||
| is_verified | bool | 1 | false |
|
|
||||||||||||||||||||||||||||||||||||||||||
| public_location | bool | 1 | √ | null |
|
|
|||||||||||||||||||||||||||||||||||||||||
| update_timestamp | timestamp | 22 | √ | null |
|
|
|||||||||||||||||||||||||||||||||||||||||
| subsite_id | int4 | 10 | √ | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| agent_pk | Primary key | Asc | id |
| idx_268b9c9dc79c849a | Performance | Asc | subsite_id |



