Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| id | serial | 10 | √ | nextval('stock_storage_category_capacity_id_seq'::regclass) |
|
|
|||||
| storage_category_id | int4 | 10 | null |
|
|
Storage Category |
|||||
| product_id | int4 | 10 | √ | null |
|
|
Product |
||||
| package_type_id | int4 | 10 | √ | null |
|
|
Package Type |
||||
| create_uid | int4 | 10 | √ | null |
|
|
Created by |
||||
| write_uid | int4 | 10 | √ | null |
|
|
Last Updated by |
||||
| create_date | timestamp | 29,6 | √ | null |
|
|
Created on |
||||
| write_date | timestamp | 29,6 | √ | null |
|
|
Last Updated on |
||||
| quantity | float8 | 17,17 | null |
|
|
Quantity |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| stock_storage_category_capacity_pkey | Primary key | Asc | id |
| stock_storage_category_capacity__storage_category_id_index | Performance | Asc | storage_category_id |
| stock_storage_category_capacity_unique_package_type | Must be unique | Asc/Asc | package_type_id + storage_category_id |
| stock_storage_category_capacity_unique_product | Must be unique | Asc/Asc | product_id + storage_category_id |
Check Constraints
| Constraint Name | Constraint |
|---|---|
| stock_storage_category_capacity_positive_quantity | ((quantity > (0)::double precision)) |

