product

-1 rows


Description

商品

Columns

Column Type Size Nulls Auto Default Children Parents Comments
product_id int8 19 null
cart_item.product_id product_id_fk R
order_item.product_id product_id_fk R
order_item_2024_01.product_id product_id_fk R
order_item_2024_02.product_id product_id_fk R
order_item_2024_03.product_id product_id_fk R
order_item_2024_04.product_id product_id_fk R
order_item_2024_05.product_id product_id_fk R
order_item_2024_06.product_id product_id_fk R
order_item_2024_07.product_id product_id_fk R
order_item_2024_08.product_id product_id_fk R
order_item_2024_09.product_id product_id_fk R
order_item_2024_10.product_id product_id_fk R
order_item_2024_11.product_id product_id_fk R
order_item_2024_12.product_id product_id_fk R

商品ID

name varchar 100 null

商品名

description varchar 1000 null

商品の説明

sku varchar 20 null

SKU

product_brand_id int8 19 null
product_brand.product_brand_id product_brand_id_fk R

ブランドID

product_category_id int8 19 null
product_category.product_category_id product_category_id_fk R

カテゴリID

price numeric 10,2 null

商品価格

unit varchar 10 null

販売単位

valid_from timestamp 29,6 null

販売開始日時

valid_to timestamp 29,6 null

販売終了日時

deleted_at timestamp 29,6 null

削除日時

created_at timestamp 29,6 CURRENT_TIMESTAMP

作成日時

update_at timestamp 29,6 CURRENT_TIMESTAMP

更新日時

Indexes

Constraint Name Type Sort Column(s)
product_pk Primary key Asc product_id
product_valid_from_valid_to_index Performance Asc/Asc valid_from + valid_to

Relationships