Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| id | serial | 10 | √ | nextval('product_product_id_seq'::regclass) |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| product_tmpl_id | int4 | 10 | null |
|
|
Product Template |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| create_uid | int4 | 10 | √ | null |
|
|
Created by |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| write_uid | int4 | 10 | √ | null |
|
|
Last Updated by |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| default_code | varchar | 2147483647 | √ | null |
|
|
Internal Reference |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| barcode | varchar | 2147483647 | √ | null |
|
|
Barcode |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| combination_indices | varchar | 2147483647 | √ | null |
|
|
Combination Indices |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| volume | numeric | 0 | √ | null |
|
|
Volume |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| weight | numeric | 0 | √ | null |
|
|
Weight |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| active | bool | 1 | √ | null |
|
|
Active |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| can_image_variant_1024_be_zoomed | bool | 1 | √ | null |
|
|
Can Variant Image 1024 be zoomed |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| write_date | timestamp | 29,6 | √ | null |
|
|
Write Date |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| create_date | timestamp | 29,6 | √ | null |
|
|
Created on |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| lot_properties_definition | jsonb | 2147483647 | √ | null |
|
|
Lot Properties |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| product_product_pkey | Primary key | Asc | id |
| product_product__barcode_index | Performance | Asc | barcode |
| product_product__combination_indices_index | Performance | Asc | combination_indices |
| product_product__default_code_index | Performance | Asc | default_code |
| product_product__product_tmpl_id_index | Performance | Asc | product_tmpl_id |
| product_product_combination_unique | Must be unique | Asc/Asc | product_tmpl_id + combination_indices |

