Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| id | serial | 10 | √ | nextval('api_productandservice_id_seq'::regclass) |
|
|
||||||||||||||||||||||||||
| 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 |
|
|
|||||||||||||||||||||||||||
| 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_productandservice_pkey | Primary key | Asc | id |
| api_productandservice_code_844b425c_like | Performance | Asc | code |
| api_productandservice_code_key | Must be unique | Asc | code |