Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| id | int4 | 10 | null |
|
|
||||||
| deleted | timestamptz | 35,6 | √ | null |
|
|
|||||
| code | varchar | 255 | null |
|
|
||||||
| name | varchar | 255 | √ | null |
|
|
|||||
| created_at | timestamptz | 35,6 | null |
|
|
||||||
| updated_at | timestamptz | 35,6 | null |
|
|
||||||
| history_id | serial | 10 | √ | nextval('api_historicalproductandservice_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 |
|
|
|||||
| cost | float8 | 17,17 | √ | null |
|
|
|||||
| description | text | 2147483647 | √ | null |
|
|
|||||
| has_part | bool | 1 | null |
|
|
||||||
| is_serializer | bool | 1 | null |
|
|
||||||
| price | float8 | 17,17 | √ | null |
|
|
|||||
| is_service | bool | 1 | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| api_historicalproductandservice_pkey | Primary key | Asc | history_id |
| api_historicalproductandservice_code_74249105 | Performance | Asc | code |
| api_historicalproductandservice_code_74249105_like | Performance | Asc | code |
| api_historicalproductandservice_history_user_id_8b4ecdea | Performance | Asc | history_user_id |
| api_historicalproductandservice_id_a7203240 | Performance | Asc | id |