修改规格属性是int8

This commit is contained in:
2026-02-05 19:10:11 +08:00
parent 7cb90dfee8
commit 468d48609f
2 changed files with 5 additions and 4 deletions

View File

@@ -6,9 +6,9 @@ CREATE TABLE mall_product
main_img VARCHAR(255) DEFAULT '' NOT NULL, --缩略图
detail_img text[] NULL, --详情图
top_img text[] NULL, -- 详情页顶图
attribute text DEFAULT '' NOT NULL,
attribute text[] DEFAULT '' NOT NULL,
unit VARCHAR(12),
category_id VARCHAR(255) DEFAULT '' NOT NULL,
category_id int8 DEFAULT '' NOT NULL,
category_ids VARCHAR(255) DEFAULT '' NOT NULL,
cost_price DECIMAL(10, 2) DEFAULT 0.00 NOT NULL,
original_price DECIMAL(10, 2) DEFAULT 0.00 NOT NULL,