Products 테이블 구조 확인

FieldTypeNullKeyDefault
idintNOPRINULL
namevarchar(255)NOMULNULL
skuvarchar(100)NOUNINULL
barcodevarchar(255)YESMULNULL
descriptiontextYESNULL
image_pathvarchar(255)YESNULL
supplier_idintYESMULNULL
category_idintYESMULNULL
brand_idintYESMULNULL
unit_pricedecimal(10,2)YES0.00
cost_pricedecimal(10,2)NO0.00
safety_stockintNO5
replenish_unitintYES1
last_ordered_atdatetimeYESNULL
replenishment_unitintNO1
has_expiration_datetinyint(1)NO0
shelf_life_yearsintYES0
shelf_life_monthsintYES0
shelf_life_daysintYES0
created_attimestampYESCURRENT_TIMESTAMP
created_byintYESMULNULL
updated_attimestampYESCURRENT_TIMESTAMP
updated_byintYESMULNULL
quantityintNO0
handling_statusvarchar(20)NOnot-handling
units_per_caseintNO1
order_statusenum('none','ordered')YESnone