Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| id | int4 | 10 | null |
|
|
||||||
| deleted | timestamptz | 35,6 | √ | null |
|
|
|||||
| code | varchar | 255 | null |
|
|
||||||
| code_brinks | varchar | 255 | √ | null |
|
|
|||||
| name | varchar | 255 | null |
|
|
||||||
| description | text | 2147483647 | √ | null |
|
|
|||||
| created_at | timestamptz | 35,6 | null |
|
|
||||||
| updated_at | timestamptz | 35,6 | null |
|
|
||||||
| history_id | serial | 10 | √ | nextval('api_historicallocation_history_id_seq'::regclass) |
|
|
|||||
| history_date | timestamptz | 35,6 | null |
|
|
||||||
| history_change_reason | varchar | 100 | √ | null |
|
|
|||||
| history_type | varchar | 1 | null |
|
|
||||||
| company_id | int4 | 10 | √ | null |
|
|
|||||
| history_user_id | int4 | 10 | √ | null |
|
|
|||||
| type_location_id | int4 | 10 | √ | null |
|
|
|||||
| zone_id | int4 | 10 | √ | null |
|
|
|||||
| type_address | varchar | 255 | √ | null |
|
|
|||||
| address | varchar | 255 | √ | null |
|
|
|||||
| contact | varchar | 255 | √ | null |
|
|
|||||
| varchar | 255 | √ | null |
|
|
||||||
| point_name | varchar | 255 | √ | null |
|
|
|||||
| reference_point | varchar | 255 | √ | null |
|
|
|||||
| telephone | varchar | 255 | √ | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| api_historicallocation_pkey | Primary key | Asc | history_id |
| api_historicallocation_code_b9be31d4 | Performance | Asc | code |
| api_historicallocation_code_b9be31d4_like | Performance | Asc | code |
| api_historicallocation_company_id_eb898eb3 | Performance | Asc | company_id |
| api_historicallocation_history_user_id_d015064b | Performance | Asc | history_user_id |
| api_historicallocation_id_120e2855 | Performance | Asc | id |
| api_historicallocation_type_location_id_e27d999a | Performance | Asc | type_location_id |
| api_historicallocation_zone_id_19cd7619 | Performance | Asc | zone_id |