Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| id | int4 | 10 | null |
|
|
||||||
| deleted | timestamptz | 35,6 | √ | null |
|
|
|||||
| code | varchar | 255 | null |
|
|
||||||
| verificated | bool | 1 | null |
|
|
||||||
| created_at | timestamptz | 35,6 | null |
|
|
||||||
| updated_at | timestamptz | 35,6 | null |
|
|
||||||
| history_id | serial | 10 | √ | nextval('api_historicalpackage_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 |
|
|
|||||
| voucher_current_id | int4 | 10 | √ | null |
|
|
|||||
| is_active | bool | 1 | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| api_historicalpackage_pkey | Primary key | Asc | history_id |
| api_historicalpackage_code_dfd8d0ba | Performance | Asc | code |
| api_historicalpackage_code_dfd8d0ba_like | Performance | Asc | code |
| api_historicalpackage_history_user_id_1b43496b | Performance | Asc | history_user_id |
| api_historicalpackage_id_a24a6a65 | Performance | Asc | id |
| api_historicalpackage_voucher_id_d06d8edc | Performance | Asc | voucher_current_id |