Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| id | int4 | 10 | null |
|
|
||||||
| deleted | timestamptz | 35,6 | √ | null |
|
|
|||||
| code | varchar | 255 | null |
|
|
||||||
| plate | varchar | 255 | null |
|
|
||||||
| is_armored | bool | 1 | null |
|
|
||||||
| amount_insured | float8 | 17,17 | √ | null |
|
|
|||||
| created_at | timestamptz | 35,6 | null |
|
|
||||||
| updated_at | timestamptz | 35,6 | null |
|
|
||||||
| history_id | serial | 10 | √ | nextval('api_historicalvehicle_history_id_seq'::regclass) |
|
|
|||||
| history_date | timestamptz | 35,6 | null |
|
|
||||||
| history_change_reason | varchar | 100 | √ | null |
|
|
|||||
| history_type | varchar | 1 | null |
|
|
||||||
| history_user_id | int4 | 10 | √ | null |
|
|
|||||
| office_id | int4 | 10 | √ | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| api_historicalvehicle_pkey | Primary key | Asc | history_id |
| api_historicalvehicle_code_1a527e54 | Performance | Asc | code |
| api_historicalvehicle_code_1a527e54_like | Performance | Asc | code |
| api_historicalvehicle_history_user_id_b3eeebd8 | Performance | Asc | history_user_id |
| api_historicalvehicle_id_dd742a75 | Performance | Asc | id |
| api_historicalvehicle_office_id_9bdbb218 | Performance | Asc | office_id |