Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| id | int4 | 10 | null |
|
|
||||||
| deleted | timestamptz | 35,6 | √ | null |
|
|
|||||
| count | int4 | 10 | √ | null |
|
|
|||||
| created_at | timestamptz | 35,6 | null |
|
|
||||||
| updated_at | timestamptz | 35,6 | null |
|
|
||||||
| history_id | serial | 10 | √ | nextval('api_historicalstock_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 |
|
|
|||||
| product_and_service_id | int4 | 10 | √ | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| api_historicalstock_pkey | Primary key | Asc | history_id |
| api_historicalstock_history_user_id_eaf52b61 | Performance | Asc | history_user_id |
| api_historicalstock_id_53092178 | Performance | Asc | id |
| api_historicalstock_office_id_ce48fceb | Performance | Asc | office_id |
| api_historicalstock_product_and_service_id_82fa1b91 | Performance | Asc | product_and_service_id |